diff --git a/kmfoldercachedimap.cpp b/kmfoldercachedimap.cpp index 3050b901e..68cdb7cdd 100644 --- a/kmfoldercachedimap.cpp +++ b/kmfoldercachedimap.cpp @@ -2037,8 +2037,9 @@ void KMFolderCachedImap::slotListResult( const QStringList& folderNames, } mProgress += 5; - if ( mToBeDeletedAfterRescue.isEmpty() ) - serverSyncInternal(); + + // just in case there is nothing to rescue + slotRescueDone( 0 ); } // This synchronizes the local folders as needed (creation/deletion). No network communication here. @@ -2946,8 +2947,6 @@ void KMFolderCachedImap::rescueUnsyncedMessagesAndDeleteFolder( KMFolder *folder node = folder->child()->next(); } } - if ( root ) - slotRescueDone( 0 ); // just in case there is nothing to rescue } void KMFolderCachedImap::slotRescueDone(KMCommand * command)