[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: [PATCH] fix bug 43417
From: Carsten Burghardt <burghardt () kde ! org>
Date: 2002-09-04 6:12:52
[Download RAW message or body]
On Tuesday 03 September 2002 21:43, Michael Häckel wrote:
> Your patch looks good besides the now required error code change.
Since you already commited my change to killAllJobs the patch is even smaller
;-)
--
Regards,
Carsten Burghardt
["deletefolder.diff" (text/x-diff)]
Index: kmacctimap.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmacctimap.cpp,v
retrieving revision 1.104
diff -u -3 -p -r1.104 kmacctimap.cpp
--- kmacctimap.cpp 2002/09/03 18:59:15 1.104
+++ kmacctimap.cpp 2002/09/04 06:11:28
@@ -366,6 +366,12 @@ void KMAcctImap::slotSlaveError(KIO::Sla
if (aSlave != mSlave) return;
if (errorCode == KIO::ERR_SLAVE_DIED) slaveDied();
if (errorCode == KIO::ERR_COULD_NOT_LOGIN && !mStorePasswd) mAskAgain = TRUE;
+ if (errorCode == KIO::ERR_DOES_NOT_EXIST)
+ {
+ // folder is gone, so reload the folderlist
+ if (mFolder) mFolder->listDirectory();
+ return;
+ }
// check if we still display an error
killAllJobs();
if ( !errorDialogIsActive )
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://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