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

Merge remote-tracking branch 'origin/release/20.04'

parents b7c201da 2fdfc575
Pipeline #20745 passed with stage
in 6 minutes and 40 seconds
...@@ -470,9 +470,8 @@ void ExportMailJobInterface::backupConfig() ...@@ -470,9 +470,8 @@ void ExportMailJobInterface::backupConfig()
} }
//Automatic Add Contacts //Automatic Add Contacts
KIdentityManagement::IdentityManager *im = KIdentityManagement::IdentityManager::self(); KIdentityManagement::IdentityManager::ConstIterator end = mIdentityManager->end();
KIdentityManagement::IdentityManager::ConstIterator end = im->end(); for (KIdentityManagement::IdentityManager::ConstIterator it = mIdentityManager->begin(); it != end; ++it) {
for (KIdentityManagement::IdentityManager::ConstIterator it = im->begin(); it != end; ++it) {
const uint identity = (*it).uoid(); const uint identity = (*it).uoid();
const QString groupId = QStringLiteral("Automatic Add Contacts %1").arg(identity); const QString groupId = QStringLiteral("Automatic Add Contacts %1").arg(identity);
if (kmailConfig->hasGroup(groupId)) { if (kmailConfig->hasGroup(groupId)) {
......
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