Skip to content
Snippets Groups Projects
Commit 9146ddb8 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix Bug 295473 - under kde 4.8.1 in kmail, empty trash is grayed out if kmail...

Fix Bug 295473 - under kde 4.8.1 in kmail, empty trash is grayed out if kmail is set to empty trash automatically when closed

Too bad the patch for avoid to delete foldercollection avoid to update collection => so when we change info into (as statistic)
it's not updated so info was the same that it was created.
Too bad that we release 4.8.1 today

FIXED-IN: 4.8.2
BUG: 295473
parent 5c6f55cd
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#include <Akonadi/ItemFetchJob>
#include <Akonadi/ItemFetchScope>
using namespace Akonadi;
#include <KPIMIdentities/IdentityManager>
......@@ -50,6 +51,7 @@ QSharedPointer<FolderCollection> FolderCollection::forCollection(
sptr = QSharedPointer<FolderCollection>( new FolderCollection( coll, writeConfig ) );
fcMap.insert( coll.id(), sptr );
} else {
sptr->setCollection( coll );
if ( !sptr->isWriteConfig() && writeConfig ) {
sptr->setWriteConfig( true );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment