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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-08-01 21:46:17
Message-ID: 1217627177.833418.10316.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840813 by rjarosz:

Don't emit close signal twice.

BUG: 168025



 M  +3 -0      msnsocket.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/msnsocket.cpp #840812:840813
@@ -174,6 +174,9 @@
 	else
 		errormsg +=  m_socket->errorString() ;
 
+	// Disconnect signals as we don't want to emit close signal twice.
+	QObject::disconnect( m_socket, 0, 0, 0 );
+
 	if ( error == QAbstractSocket::RemoteHostClosedError )
 		m_socket->abort();
 	else
[prev in list] [next in list] [prev in thread] [next in thread] 

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