Changeset 6429 for trunk/qt4-gui/src
- Timestamp:
- 07/05/08 22:51:39 (5 months ago)
- Files:
-
- 1 modified
-
trunk/qt4-gui/src/userevents/userviewevent.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/userevents/userviewevent.cpp
r6406 r6429 52 52 #include "core/signalmanager.h" 53 53 54 #include "dialogs/adduserdlg.h" 54 55 #include "dialogs/authuserdlg.h" 55 56 #include "dialogs/chatdlg.h" … … 333 334 { 334 335 CEventAuthGranted* p = dynamic_cast<CEventAuthGranted*>(myCurrentEvent); 335 gLicqDaemon->AddUserToList(p->IdString(), p->PPID());336 new AddUserDlg(p->IdString(), p->PPID(), this); 336 337 break; 337 338 } … … 340 341 { 341 342 CEventAdded* p = dynamic_cast<CEventAdded*>(myCurrentEvent); 342 gLicqDaemon->AddUserToList(p->IdString(), p->PPID());343 new AddUserDlg(p->IdString(), p->PPID(), this); 343 344 break; 344 345 } … … 351 352 for (it = cl.begin(); it != cl.end(); ++it) 352 353 { 353 ICQUser* u = gUserManager.FetchUser((*it)->IdString(), (*it)->PPID(), LOCK_R); 354 if (u == NULL) 355 { 356 gLicqDaemon->AddUserToList((*it)->IdString(), (*it)->PPID()); 357 continue; 358 } 359 gUserManager.DropUser(u); 354 new AddUserDlg((*it)->IdString(), (*it)->PPID(), this); 360 355 } 361 356 … … 536 531 { 537 532 CEventAuthRequest* p = dynamic_cast<CEventAuthRequest*>(myCurrentEvent); 538 gLicqDaemon->AddUserToList(p->IdString(), p->PPID());533 new AddUserDlg(p->IdString(), p->PPID(), this); 539 534 break; 540 535 }
