Changeset 5593

Show
Ignore:
Timestamp:
2007-10-11 04:11:33 (9 months ago)
Author:
flynd
Message:

Fixed mutex problem when changing auto response. This should solve #1560.

Files:

Legend:

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

    r5525 r5593  
    21962196  //TODO iterate all owners that support fetching away message 
    21972197  ICQOwner *o = gUserManager.FetchOwner(LOCK_R); 
    2198   if(o != NULL) { 
    2199     showAwayMsgDlg(o->Status()); 
     2198  if (o != NULL) 
     2199  { 
     2200    unsigned short status = o->Status(); 
    22002201    gUserManager.DropOwner(); 
     2202    showAwayMsgDlg(status); 
    22012203  } 
    22022204}