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/dockicons/dockicon.cpp

    r6058 r6374  
    7272{ 
    7373  // First check for ICQ/AIM owner presence 
    74   ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     74  ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    7575 
    7676  // Take any existent one otherwise 
     
    9090    myStatus = o->Status(); 
    9191    myInvisible = o->StatusInvisible(); 
    92     gUserManager.DropOwner(myPpid); 
     92    gUserManager.DropOwner(o); 
    9393  } 
    9494  else