Show
Ignore:
Timestamp:
05/03/03 09:38:33 (6 years ago)
Author:
emostar
Message:

Fix online blinking and start some work on getting tabbed chatting to work

Location:
branches/protocol_plugin_1_3_0/qt-gui/src
Files:
2 modified

Legend:

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

    r3488 r3489  
    395395  p->setFont(newFont); 
    396396 
    397   bool onlBlink = (listView()->onlTimerId && listView()->onlId && 
     397  bool onlBlink = (listView()->onlTimerId && listView()->onlId && m_szId && 
    398398                   strcmp(listView()->onlId, m_szId) == 0 && 
    399399                   listView()->onlPPID == m_nPPID && listView()->onlCounter & 1); 
  • branches/protocol_plugin_1_3_0/qt-gui/src/usereventdlg.cpp

    r3472 r3489  
    256256  { 
    257257    UserEventCommon *tab = static_cast<UserEventCommon*>(tabw->page(index)); 
    258     if (tab->Uin() == u->Uin()) 
     258    if (strcmp(tab->Id(), u->IdString()) == 0 && tab->PPID() == u->PPID()) 
    259259    { 
    260260      if (u->NewMessages() > 0) 
     
    306306  if (!isActiveWindow()) return; 
    307307  UserEventCommon *e = static_cast<UserEventCommon*>(tab); 
    308   ICQUser *u = gUserManager.FetchUser(e->Uin(), LOCK_R); 
     308  ICQUser *u = gUserManager.FetchUser(e->Id(), e->PPID(), LOCK_R); 
    309309  if (u != NULL && u->NewMessages() > 0) 
    310310  {