Changeset 5594

Show
Ignore:
Timestamp:
10/11/07 04:27:24 (11 months ago)
Author:
flynd
Message:

Revised r5593 to use same implementation as in qt4-gui.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/mainwin.cpp

    r5593 r5594  
    21952195{ 
    21962196  //TODO iterate all owners that support fetching away message 
    2197   ICQOwner *o = gUserManager.FetchOwner(LOCK_R); 
    2198   if (o != NULL) 
    2199   { 
    2200     unsigned short status = o->Status(); 
    2201     gUserManager.DropOwner(); 
    2202     showAwayMsgDlg(status); 
    2203   } 
     2197  ICQOwner* o = gUserManager.FetchOwner(LOCK_R); 
     2198  if (o == NULL) 
     2199    return; 
     2200 
     2201  unsigned short status = o->Status(); 
     2202  gUserManager.DropOwner(); 
     2203  showAwayMsgDlg(status); 
    22042204} 
    22052205