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

    r6352 r6374  
    8080#undef ADD_CHECK 
    8181 
    82   gUserManager.DropOwner(); 
     82  gUserManager.DropOwner(o); 
    8383 
    8484  top_lay->addWidget(boxOptions); 
     
    111111  if (o->Status() == ICQ_STATUS_OFFLINE) 
    112112  { 
    113     gUserManager.DropOwner(LICQ_PPID); 
     113    gUserManager.DropOwner(o); 
    114114    InformUser(this, tr("You need to be connected to the\n" 
    115115          "ICQ Network to change the settings.")); 
     
    125125      ip != o->HideIp()) 
    126126  { 
    127     gUserManager.DropOwner(LICQ_PPID); 
     127    gUserManager.DropOwner(o); 
    128128    btnUpdate->setEnabled(false); 
    129129 
     
    138138  } 
    139139 
    140   gUserManager.DropOwner(LICQ_PPID); 
     140  gUserManager.DropOwner(o); 
    141141 
    142142  close();