From bd709e6ec7589a7aad748994d925f6c04b76cdc2 Mon Sep 17 00:00:00 2001 From: Carsten Burghardt Date: Fri, 16 Jun 2006 17:18:46 +0000 Subject: [PATCH] There was an open missing which lead to the famous chain of horror: the parent folder was not open so the job opened it, the messagelist was regenerated, the message became invalid, yada yada. BUGS: 129028 svn path=/branches/KDE/3.5/kdepim/; revision=552126 --- kmfolderimap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kmfolderimap.cpp b/kmfolderimap.cpp index f4017d847..6b34aa426 100644 --- a/kmfolderimap.cpp +++ b/kmfolderimap.cpp @@ -1450,6 +1450,7 @@ void KMFolderImap::slotGetMessagesData(KIO::Job * job, const QByteArray & data) if ( ok && exists < count() ) { kdDebug(5006) << "KMFolderImap::slotGetMessagesData - server has less messages (" << exists << ") then folder (" << count() << "), so reload" << endl; + open(); reallyGetFolder( QString::null ); (*it).cdata.remove(0, pos); return;