Commit 865bd82c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent f3f96620
Pipeline #42002 failed with stage
in 22 minutes and 5 seconds
......@@ -268,7 +268,6 @@ void Transport::migrateToWallet()
d->needsWalletMigration = false;
KConfigGroup group(config(), currentGroup());
group.deleteEntry("password");
group.deleteEntry("password-kmail");
d->passwordDirty = true;
d->storePasswordInFile = false;
save();
......@@ -276,7 +275,7 @@ void Transport::migrateToWallet()
Transport *Transport::clone() const
{
QString id = currentGroup().mid(10);
const QString id = currentGroup().mid(10);
return new Transport(id);
}
......
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