Commit 37f1ffec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix logic

parent 4acb086d
Pipeline #21489 passed with stage
in 9 minutes and 12 seconds
......@@ -117,7 +117,7 @@ QString ImportMailJobInterfaceTestImpl::uniqueIdentityName(const QString &name)
const QStringList existingIdentityNames{QStringLiteral("identity1"), QStringLiteral("identity2")};
while (!existingIdentityNames.contains(newName)) {
while (existingIdentityNames.contains(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