Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Data Exporter
Commits
ead08a1e
Commit
ead08a1e
authored
May 27, 2020
by
Laurent Montel
Browse files
Fix generate identity with uniqueIdentityName
parent
2fdfc575
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/mail/importmailjob.cpp
View file @
ead08a1e
...
...
@@ -1023,9 +1023,9 @@ void ImportMailJob::restoreIdentity()
}
}
}
QString
name
=
group
.
readEntry
(
QStringLiteral
(
"Name"
));
QString
name
=
uniqueIdentityName
(
group
.
readEntry
(
QStringLiteral
(
"Name"
))
)
;
KIdentityManagement
::
Identity
*
identity
=
&
mIdentityManager
->
newFromScratch
(
uniqueIdentityName
(
name
)
)
;
KIdentityManagement
::
Identity
*
identity
=
&
mIdentityManager
->
newFromScratch
(
name
);
group
.
writeEntry
(
QStringLiteral
(
"Name"
),
name
);
group
.
sync
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment