Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 020cfb32 authored by Diane Trout's avatar Diane Trout

Restart akonadi when we finish migration.

This helps with the infinite loop because of resource ids don't match
reported in kde bug 322471 and debian bug 727800.

CCBUG: 322471
REVIEW: 122187
parent 45bca5db
......@@ -46,6 +46,7 @@
#include <akonadi/agentinstance.h>
#include <akonadi/agentinstancecreatejob.h>
#include <akonadi/attributefactory.h>
#include <akonadi/control.h>
#include <akonadi/tag.h>
#include <akonadi/tagcreatejob.h>
#include <akonadi/tagattribute.h>
......@@ -390,6 +391,9 @@ void KMailMigrator::migrationDone()
cleanupConfigFile();
migrateConfigurationDialogRestriction();
deleteLater();
kDebug() << "Restarting Akonadi";
Akonadi::Control::restart();
}
OrgKdeAkonadiImapSettingsInterface* KMailMigrator::createImapSettingsInterface( const Akonadi::AgentInstance& instance )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment