Show
Ignore:
Timestamp:
05/02/03 10:13:58 (6 years ago)
Author:
emostar
Message:

Use the new remove user function and fix a crash

Files:
1 modified

Legend:

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

    r3472 r3483  
    13941394        CUserViewItem* item = static_cast<CUserViewItem*>(it.current()); 
    13951395 
    1396         if(sig->Id() && strcmp(sig->Id(), item->ItemId()) == 0 && 
     1396        if(sig->Id() && item->ItemId() && 
     1397           strcmp(sig->Id(), item->ItemId()) == 0 && 
    13971398           sig->PPID() == item->ItemPPID()) 
    13981399        { 
     
    27892790  if (QueryUser(p, warning, tr("Ok"), tr("Cancel"))) 
    27902791  { 
    2791     //TODO 
    2792     licqDaemon->RemoveUserFromList(strtoul(szId, (char **)NULL, 10)); 
     2792    licqDaemon->RemoveUserFromList(szId, nPPID); 
    27932793    return true; 
    27942794  }