Show
Ignore:
Timestamp:
07/01/08 17:03:38 (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/qt-gui/src/catdlg.cpp

    r4800 r6381  
    113113void EditCategoryDlg::ok() 
    114114{ 
    115   ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     115  ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    116116  if (o == NULL) 
    117117  { 
     
    120120  } 
    121121  QTextCodec *codec = UserCodec::codecForICQUser(o); 
    122   gUserManager.DropOwner(); 
     122  gUserManager.DropOwner(o); 
    123123 
    124124  ICQUserCategory *cat = new ICQUserCategory(m_uc);