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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-06-13 10:57:00
Message-ID: 1118660220.940926.30042.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 424862 by ogoffart:

Make sure the message are shown in the chatwindow even if a custom emoticon transfer failed.
I was not ressetting the timer, which mean that it only worked once.

CCBUG: 104210




 M  +6 -0      msnswitchboardsocket.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp #424861:424862
@@ -828,6 +828,12 @@
 
 void MSNSwitchBoardSocket::cleanQueue()
 {
+	if(m_emoticonTimer)
+	{
+		m_emoticonTimer->stop();
+		m_emoticonTimer->deleteLater();
+		m_emoticonTimer=0L;
+	}
 	kdDebug(14141) << k_funcinfo << m_msgQueue.count() << endl;
 
 	QValueList<const Kopete::Message>::Iterator it_msg;
[prev in list] [next in list] [prev in thread] [next in thread] 

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