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

List:       kde-commits
Subject:    kdenonbeta/kopete/protocols/jabber
From:       Till Gerken <till () tantalo ! net>
Date:       2003-07-28 22:04:17
[Download RAW message or body]

CVS commit by gerken: 

Make sure the plugin actually sets itself to offline in case of a
protocol or socket error. Otherwise, the plugin would get in a "deadlock"
situation where the only solution to make it reconnect would be to restart
Kopete.


  M +5 -0      jabberaccount.cpp   1.67


--- kdenonbeta/kopete/protocols/jabber/jabberaccount.cpp  #1.66:1.67
@@ -478,4 +478,9 @@ void JabberAccount::slotError (const Jab
 
         disconnect ();
+
+        // manually force the slot to be called since in case of an error,
+        // libpsi will most likely be confused and not emit signals anymore
+        slotDisconnected();
+
 }
 


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

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