Commit e22a7ba9 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

migrationEnded: force reload of all account details

Change-Id: Ia2b663b6ec3addb173fe44f6ced0fdf0554fcd5a
parent 99aece5b
......@@ -536,6 +536,8 @@ void
NewAccountModelPimpl::slotMigrationEnded(const std::string& accountId, bool ok)
if (ok) {
// Previous account was incorrect, force a full reload
emit linked.migrationEnded(accountId, ok);
......@@ -564,7 +566,7 @@ NewAccountModelPimpl::addToAccounts(const std::string& accountId,
auto it = accounts.emplace(accountId, std::make_pair(account::Info(), db));
if (!it.second) {
qDebug("failed to add new account: id already present in map");
qWarning("failed to add new account: id already present in map");
Supports Markdown
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