Commit 0a1b89a9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

inform that identity name doesn't exist

parent 33b626c9
Pipeline #25735 failed with stage
in 36 minutes and 15 seconds
...@@ -54,6 +54,8 @@ void OpenComposerJob::start() ...@@ -54,6 +54,8 @@ void OpenComposerJob::start()
if (KMKernel::self()->identityManager()->identities().contains(mOpenComposerSettings.mIdentity)) { if (KMKernel::self()->identityManager()->identities().contains(mOpenComposerSettings.mIdentity)) {
const KIdentityManagement::Identity id = KMKernel::self()->identityManager()->modifyIdentityForName(mOpenComposerSettings.mIdentity); const KIdentityManagement::Identity id = KMKernel::self()->identityManager()->modifyIdentityForName(mOpenComposerSettings.mIdentity);
mIdentityId = id.uoid(); mIdentityId = id.uoid();
} else {
qCWarning(KMAIL_LOG) << "Identity name doesn't exist " << mOpenComposerSettings.mIdentity;
} }
} }
......
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