summaryrefslogtreecommitdiff
path: root/migrationutility/migratefolderjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/migratefolderjob.cpp')
-rw-r--r--migrationutility/migratefolderjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrationutility/migratefolderjob.cpp b/migrationutility/migratefolderjob.cpp
index bd77b42..1313732 100644
--- a/migrationutility/migratefolderjob.cpp
+++ b/migrationutility/migratefolderjob.cpp
@@ -41,8 +41,8 @@ void MigrateFolderJob::doStart()
{
Debug() << "migrating " << mFolder;
const QPair<Kolab::FolderType, QString> &targetFolder = mSourceAccount->translateFolder(mFolder);
- mTargetFolder = targetFolder.second;
- mKolabAccount->createFolder(targetFolder.second, targetFolder.first);
+ mTargetFolder = mKolabAccount->applyTargetFolderTransformations(targetFolder.second);
+ mKolabAccount->createFolder(mTargetFolder, targetFolder.first);
FetchObjectsJob *fetchJob = mSourceAccount->fetchObjects(mFolder);
if (!fetchJob) {