Changeset 5591

Show
Ignore:
Timestamp:
10/11/07 03:40:15 (14 months ago)
Author:
eugene
Message:

Don't let the fetched user remain undropped. Fixes #1558.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/userevents/usersendcommon.cpp

    r5580 r5591  
    547547 
    548548    // Remove the typing notification if active 
    549     if (u != 0 && u->GetTyping() == ICQ_TYPING_ACTIVE) 
    550     { 
    551       u->SetTyping(ICQ_TYPING_INACTIVEx0); 
    552       myTimezone->setPalette(QPalette()); 
    553       if (Config::Chat::instance()->tabbedChatting() && myMainWin->userEventTabDlg) 
    554         myMainWin->userEventTabDlg->updateTabLabel(u); 
     549    if (u != 0) 
     550    { 
     551      if (u->GetTyping() == ICQ_TYPING_ACTIVE) 
     552      { 
     553        u->SetTyping(ICQ_TYPING_INACTIVEx0); 
     554        myTimezone->setPalette(QPalette()); 
     555        if (Config::Chat::instance()->tabbedChatting() && myMainWin->userEventTabDlg) 
     556          myMainWin->userEventTabDlg->updateTabLabel(u); 
     557      } 
    555558      gUserManager.DropUser(u); 
    556559    }