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

List:       kmail-devel
Subject:    [Bug 69004] another crash in kacctimap
From:       Carsten Burghardt <cb () magic-shop ! de>
Date:       2003-11-27 19:33:24
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=69004     




------- Additional Comments From cb@magic-shop.de  2003-11-27 20:33 -------
Subject: kdepim/kmail

CVS commit by burghard: 

This should fix 69004, 69157, 68992
Can anybody confirm this?

CCMAIL: 69004@bugs.kde.org
CCMAIL: 69157@bugs.kde.org
CCMAIL: 68992@bugs.kde.org


  M +5 -6      kmacctimap.cpp   1.146


--- kdepim/kmail/kmacctimap.cpp  #1.145:1.146
@@ -207,8 +207,5 @@ void KMAcctImap::ignoreJobsForMessage( K
     {
       if ( job->mJob )
-      {
-        job->mJob->disconnect();
         removeJob( job->mJob );
-      }
       mJobList.remove( job );
       delete job;
@@ -297,4 +294,5 @@ void KMAcctImap::processNewMail(bool int
     }
   }
+  bool gotError = false;
   // then check for new mails
   for (it = mMailCheckFolders.begin(); it != mMailCheckFolders.end(); it++)
@@ -321,11 +319,12 @@ void KMAcctImap::processNewMail(bool int
             // there was an error so cancel
             mCountRemainChecks--;
-            // just in case the folder is gone
-            slotUpdateFolderList();
-          }
+            gotError = true;
         }
       }
     }
   }
+  } // end for
+  if ( gotError )
+    slotUpdateFolderList();
 }
_______________________________________________
KMail Developers mailing list
kmail@kde.org
https://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

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