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

List:       kde-commits
Subject:    kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2004-04-09 17:02:00
Message-ID: 20040409170200.6C14D9A1F () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Now that we killAllJobs() in the error handler make sure the job is only
removed in non-error paths.


  M +5 -2      kmfoldercachedimap.cpp   1.75


--- kdepim/kmail/kmfoldercachedimap.cpp  #1.74:1.75
@@ -1081,6 +1081,9 @@ void KMFolderCachedImap::getMessagesResu
     mContentState = imapNoInformation;
     emit folderComplete(this, FALSE);
-  } else if (lastSet) mContentState = imapFinished;
+  } else {
+    if (lastSet) 
+      mContentState = imapFinished;
   mAccount->removeJob(it);
+  }
   if( lastSet )
     emit listMessagesComplete();


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

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