Commit ead08a1e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix generate identity with uniqueIdentityName

parent 2fdfc575
......@@ -1023,9 +1023,9 @@ void ImportMailJob::restoreIdentity()
}
}
}
QString name = group.readEntry(QStringLiteral("Name"));
QString name = uniqueIdentityName(group.readEntry(QStringLiteral("Name")));
KIdentityManagement::Identity *identity = &mIdentityManager->newFromScratch(uniqueIdentityName(name));
KIdentityManagement::Identity *identity = &mIdentityManager->newFromScratch(name);
group.writeEntry(QStringLiteral("Name"), name);
group.sync();
......
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