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

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

CVS commit by kloecker: 

Backport fix for bug 60508: When receiving from maildir, cancelling the receive nukes \
the entire source maildir


  M +4 -1      kmacctmaildir.cpp   1.15.2.1


--- kdenetwork/kmail/kmacctmaildir.cpp  #1.15:1.15.2.1
@@ -158,6 +158,9 @@ void KMAcctMaildir::processNewMail(bool)
   {
 
+    if( KMBroadcastStatus::instance()->abortRequested() ) {
+      KMBroadcastStatus::instance()->setStatusMsg( "" );
+      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