Commit 2bc6b5ea authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start from 1

parent a8cc81b9
Pipeline #94580 passed with stage
in 10 minutes and 53 seconds
......@@ -104,7 +104,7 @@ void ImportMailJobInterfaceImpl::addNewIdentity(const QString &name, KConfigGrou
QString ImportMailJobInterfaceImpl::uniqueIdentityName(const QString &name)
{
QString newName(name);
int i = 0;
int i = 1;
while (!mIdentityManager->isUnique(newName)) {
newName = QStringLiteral("%1_%2").arg(name).arg(i);
++i;
......
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