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/phonedlg.cpp

    r5892 r6374  
    5353  setModal(true); 
    5454 
    55   ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     55  ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    5656  if (o == NULL) 
    5757  { 
     
    6060  } 
    6161  QTextCodec* codec = UserCodec::codecForICQUser(o); 
    62   gUserManager.DropOwner(); 
     62  gUserManager.DropOwner(o); 
    6363 
    6464  m_nEntry = nEntry; 
     
    236236  } 
    237237 
    238   ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     238  ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    239239  if (o == NULL) 
    240240  { 
     
    243243  } 
    244244  QTextCodec* codec = UserCodec::codecForICQUser(o); 
    245   gUserManager.DropOwner(); 
     245  gUserManager.DropOwner(o); 
    246246 
    247247  struct PhoneBookEntry pbe;