Changeset 6381 for trunk/qt-gui/src/optionsdlg.cpp
- Timestamp:
- 07/01/08 17:03:38 (5 months ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/optionsdlg.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/optionsdlg.cpp
r6367 r6381 458 458 oem->Unlock(); 459 459 //TODO make general for all plugins 460 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);460 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 461 461 if (o) 462 462 { … … 465 465 chkOEOccupied->setChecked(o->AcceptInOccupied()); 466 466 chkOEDND->setChecked(o->AcceptInDND()); 467 gUserManager.DropOwner( );467 gUserManager.DropOwner(o); 468 468 } 469 469 chkAlwaysOnlineNotify->setChecked(mainwin->licqDaemon->AlwaysOnlineNotify()); … … 722 722 oem->SetParameters(txtSndPlayer.latin1(), oemparams); 723 723 //TODO Make general for all plugins 724 ICQOwner *o = gUserManager.FetchOwner(LOCK_W);724 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_W); 725 725 if (o) 726 726 { … … 732 732 o->SetEnableSave(true); 733 733 o->SaveLicqInfo(); 734 gUserManager.DropOwner( );734 gUserManager.DropOwner(o); 735 735 } 736 736 mainwin->licqDaemon->SetAlwaysOnlineNotify(chkAlwaysOnlineNotify->isChecked());
