[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2005-11-06 20:43:26
Message-ID: 1131309806.338936.1536.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 478465 by rjarosz:

Bug 115806: Crash when removing user with chat window open

BUG: 115806



 M  +2 -1      kopetechatwindow.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp #478464:478465
@@ -901,7 +901,8 @@
 	}
 
 	if ( m_tabBar )
-		m_tabBar->setTabIconSet( view, view->msgManager()->contactOnlineStatus( c ).iconFor( c ) );
+		m_tabBar->setTabIconSet( view, c ? view->msgManager()->contactOnlineStatus( c ).iconFor( c ) :
+		                                   SmallIcon( view->msgManager()->protocol()->pluginIcon() ) );
 }
 
 void KopeteChatWindow::slotChatClosed()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic