Commit 5f79f82a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix importing "Automatic Add Contacts"

parent effce8ae
......@@ -21,6 +21,7 @@
#include "archivestorage.h"
#include "importexportmailutil.h"
#include "resourceconverterimpl.h"
#include "pimdataexportcore_debug.h"
#include <MailCommon/FilterImporterExporter>
#include <MailCommon/MailUtil>
......@@ -36,7 +37,6 @@
#include <KMessageBox>
#include <KArchiveFile>
#include <KZip>
#include "pimdataexportcore_debug.h"
#include <QMetaMethod>
#include <QDir>
......@@ -1274,8 +1274,7 @@ void ImportMailJobInterface::importKmailConfig(const KArchiveFile *kmailsnippet,
KConfigGroup newGroup(kmailConfig, QStringLiteral("Automatic Add Contacts %1").arg(i.value()));
identityGroup.copyTo(&newGroup);
const QString automaticAddContactStr(QStringLiteral("Collection"));
ResourceConverterImpl converter;
converter.convertCollectionIdsToRealPath(newGroup, automaticAddContactStr);
convertRealPathToCollectionList(newGroup, automaticAddContactStr);
identityGroup.deleteGroup();
}
++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