summaryrefslogtreecommitdiff
path: root/migrationutility/migratefolderjob.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2014-01-16 22:17:23 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2014-01-16 22:17:23 (GMT)
commitc20c1408c4abace04b469509a2ffe0f1f1bc3845 (patch)
tree3b84848204c6a30e0e91299ef74624924b73d32e /migrationutility/migratefolderjob.cpp
parent34d3e8edb4c655360e8c464819d1c438ac23b2f9 (diff)
downloadkolab-utils-c20c1408c4abace04b469509a2ffe0f1f1bc3845.tar.gz
A simple regextrans2 option to translate target names.
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) {