Show
Ignore:
Timestamp:
07/01/08 06:31:24 (5 months ago)
Author:
flynd
Message:

Use the new DropOwner? function to properly specify which owner to unlock.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/dialogs/editcategorydlg.cpp

    r5837 r6374  
    125125void EditCategoryDlg::ok() 
    126126{ 
    127   ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     127  ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    128128  if (o != NULL) 
    129129  { 
    130130    QTextCodec* codec = UserCodec::codecForICQUser(o); 
    131     gUserManager.DropOwner(); 
     131    gUserManager.DropOwner(o); 
    132132 
    133133    ICQUserCategory* cat = new ICQUserCategory(myUserCat);