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

List:       kde-commits
Subject:    kdepim/kmail
From:       Ingo Klöcker <kloecker () kde ! org>
Date:       2003-07-01 0:12:10
[Download RAW message or body]

CVS commit by kloecker: 

Fix bug 60508: When receiving from maildir, cancelling the receive nukes the entire source maildir


  M +5 -1      kmacctmaildir.cpp   1.25


--- kdepim/kmail/kmacctmaildir.cpp  #1.24:1.25
@@ -151,6 +151,10 @@ void KMAcctMaildir::processNewMail(bool)
   {
 
+    if( KMBroadcastStatus::instance()->abortRequested() ) {
+      KMBroadcastStatus::instance()->setStatusMsg( i18n("Transmission aborted.") );
+      num = i;
+      addedOk = false;
+    }
     if (!addedOk) break;
-    if (KMBroadcastStatus::instance()->abortRequested()) break;
 
     QString statusMsg = statusMsgStub.arg(i);


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

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