From 43deb70a1cf06af3a67ee08a0cb4dbc9e5776c7e Mon Sep 17 00:00:00 2001 From: Till Adam Date: Sun, 5 Oct 2003 17:56:06 +0000 Subject: [PATCH] Re-add ! that was lost in a 1.134 to fix invalidation of indeces and msgDict crashes due to stuff operating on the disappeared inbox, presumably. I'm not sure if this was a typo, since the .upper() part of the change seems sensible, so I leave that part of the commit in. Carsten? svn path=/trunk/kdepim/; revision=256547 --- kmfolderimap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmfolderimap.cpp b/kmfolderimap.cpp index fc4c7f2a0..0edf944c9 100644 --- a/kmfolderimap.cpp +++ b/kmfolderimap.cpp @@ -523,7 +523,7 @@ void KMFolderImap::slotListResult( QStringList mSubfolderNames, while (node) { // check if the folders still exist on the server - if (!node->isDir() && (node->name().upper() != "INBOX" || mAccount->createInbox()) + if (!node->isDir() && (node->name().upper() != "INBOX" || !mAccount->createInbox()) && mSubfolderNames.findIndex(node->name()) == -1) { kdDebug(5006) << node->name() << " disappeared." << endl;