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

Fix generate correct identity

parent c8c0d455
Pipeline #95017 passed with stage
in 9 minutes and 40 seconds
......@@ -16,7 +16,7 @@ Identity=Default
Image Location=
Inline Signature=olutions\s
Inlined Html=false
Name=kd
Name=Default
Organization=kde
PGP Encryption Key=CDF87D8A5BAA692D34B30D1065D31
PGP Signing Key=F87D8A5BAA692D34B30D1065D31
......@@ -46,7 +46,7 @@ Identity=Kolab
Image Location=
Inline Signature=OpenGL Experts\n
Inlined Html=false
Name=Bla Bli
Name=Kolab
Pgp Auto Encrypt=false
Pgp Auto Sign=false
Preferred Crypto Message Format=s/mime
......
......@@ -16,7 +16,7 @@ Identity=Default
Image Location=
Inline Signature=olutions\s
Inlined Html=false
Name=kd
Name=Default
Organization=kde
PGP Encryption Key=CDF87D8A5BAA692D34B30D1065D31
PGP Signing Key=F87D8A5BAA692D34B30D1065D31
......@@ -46,7 +46,7 @@ Identity=Kolab
Image Location=
Inline Signature=OpenGL Experts\n
Inlined Html=false
Name=Bla Bli
Name=Kolab
Pgp Auto Encrypt=false
Pgp Auto Sign=false
Preferred Crypto Message Format=s/mime
......
......@@ -16,7 +16,7 @@ Identity=Default
Image Location=
Inline Signature=olutions\s
Inlined Html=false
Name=kd
Name=Default
Organization=kde
PGP Encryption Key=CDF87D8A5BAA692D34B30D1065D31
PGP Signing Key=F87D8A5BAA692D34B30D1065D31
......@@ -46,7 +46,7 @@ Identity=Kolab
Image Location=
Inline Signature=OpenGL Experts\n
Inlined Html=false
Name=Bla Bli
Name=Kolab
Pgp Auto Encrypt=false
Pgp Auto Sign=false
Preferred Crypto Message Format=s/mime
......
......@@ -16,7 +16,7 @@ Identity=Default
Image Location=
Inline Signature=olutions\s
Inlined Html=false
Name=kd
Name=Default
Organization=kde
PGP Encryption Key=CDF87D8A5BAA692D34B30D1065D31
PGP Signing Key=F87D8A5BAA692D34B30D1065D31
......@@ -46,7 +46,7 @@ Identity=Kolab
Image Location=
Inline Signature=OpenGL Experts\n
Inlined Html=false
Name=Bla Bli
Name=Kolab
Pgp Auto Encrypt=false
Pgp Auto Sign=false
Preferred Crypto Message Format=s/mime
......
......@@ -1062,7 +1062,7 @@ void ImportMailJobInterface::restoreIdentity()
}
}
}
const QString name = group.readEntry(QStringLiteral("Name"));
const QString name = group.readEntry(QStringLiteral("Identity"));
addNewIdentity(name, group, defaultIdentity, oldUid);
}
Q_EMIT info(i18n("Identities restored."));
......
......@@ -87,7 +87,7 @@ void ImportMailJobInterfaceImpl::addNewIdentity(const QString &name, KConfigGrou
{
const QString uniqueName = uniqueIdentityName(name);
KIdentityManagement::Identity *identity = &mIdentityManager->newFromScratch(uniqueName);
group.writeEntry(QStringLiteral("Name"), uniqueName);
group.writeEntry(QStringLiteral("Identity"), uniqueName);
group.sync();
identity->readConfig(group);
......
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