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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Andre Duffeck <andre () duffeck ! de>
Date:       2007-06-13 14:27:06
Message-ID: 1181744826.922585.14119.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 674923 by duffeck:

Forward port: Fix crash after duplicate login.


 M  +3 -1      client.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp #674922:674923
@@ -187,8 +187,10 @@
 	if( d->tasksInitialized)
 		deleteTasks();	
 	d->loginTask->reset();
-	if( d->stream )
+	if( d->stream ) {
+		QObject::disconnect( d->stream, SIGNAL( readyRead() ), this, SLOT( streamReadyRead() ) );
 		d->stream->deleteLater();
+	}
 	d->stream = 0L;
 	if( m_connector )
 		m_connector->deleteLater();
[prev in list] [next in list] [prev in thread] [next in thread] 

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