Git commit f437aa4e1f2e5d29339c010eaf6dc5019610ee18 by Gregory Schlomoff. Committed on 19/08/2011 at 00:37. Pushed by schlomoff into branch '4.7'. KIMAP::Session: removing a work around that was needed before the fix from commit aef63334. Now all unit tests pass. M +1 -3 kimap/session.cpp http://commits.kde.org/kdepimlibs/f437aa4e1f2e5d29339c010eaf6dc5019610ee18 diff --git a/kimap/session.cpp b/kimap/session.cpp index 10abac0..5341d8f 100644 --- a/kimap/session.cpp +++ b/kimap/session.cpp @@ -360,9 +360,7 @@ void SessionPrivate::socketDisconnected() if ( state != Session::Disconnected ) { setState(Session::Disconnected); emit q->connectionLost(); - } - - if (!isSocketConnected) { + } else { emit q->connectionFailed(); }