From b59fcc72ef239b92a67e27ffbb17ae1a0a5e5039 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 7 May 2004 09:35:45 +0000 Subject: [PATCH] Eeeek, don't force a mailcheck to happen right now (from "troubleshoot imap cache"), use the KMAccount method which prevents concurrent mail checking... svn path=/trunk/kdepim/; revision=309290 --- kmacctcachedimap.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kmacctcachedimap.cpp b/kmacctcachedimap.cpp index 5b76e061c..2dfe6fbcd 100644 --- a/kmacctcachedimap.cpp +++ b/kmacctcachedimap.cpp @@ -361,10 +361,7 @@ void KMAcctCachedImap::invalidateIMAPFolders( KMFolderCachedImap* folder ) folder->setUidValidity("INVALID"); folder->writeUidCache(); - if ( !checkingMail() ) { - setCheckingMail( true ); - processNewMail( false ); - } + mailCheck(); } //-----------------------------------------------------------------------------