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

List:       kde-commits
Subject:    [kdepimlibs/4.7] kimap: KIMAP::Session: removing a work around that
From:       Gregory Schlomoff <gregory.schlomoff () gmail ! com>
Date:       2011-08-31 22:00:18
Message-ID: 20110831220018.2E414A60A6 () git ! kde ! org
[Download RAW message or body]

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();
   }
 


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

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