summaryrefslogtreecommitdiff
path: root/lib/kolabaccount.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-03-13 13:02:10 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-03-13 13:02:10 (GMT)
commitbeeeaa038ee9464f01b747e31aab6c32a5099145 (patch)
treecc1bc2d6fed1676fee19002974425b1c974cd691 /lib/kolabaccount.cpp
parent0c6eaf53efac8916ec7b7de288c63b426f374fbe (diff)
downloadkolab-utils-beeeaa038ee9464f01b747e31aab6c32a5099145.tar.gz
Cleanup of stuff we no longer need with libkolab 0.4.0.
Diffstat (limited to 'lib/kolabaccount.cpp')
-rw-r--r--lib/kolabaccount.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kolabaccount.cpp b/lib/kolabaccount.cpp
index ced770b..118432e 100644
--- a/lib/kolabaccount.cpp
+++ b/lib/kolabaccount.cpp
@@ -342,7 +342,7 @@ void KolabAccount::setupFolders()
return;
}
SetupKolabFoldersJob *setupJob = new SetupKolabFoldersJob(mCapabilities, QString(), mSession, this);
- setupJob->setKolabFolders(QStringList() << KOLAB_FOLDER_TYPE_CONTACT << KOLAB_FOLDER_TYPE_EVENT << KOLAB_FOLDER_TYPE_TASK << KOLAB_FOLDER_TYPE_JOURNAL << KOLAB_FOLDER_TYPE_NOTE);
+ setupJob->setKolabFolders(QStringList() << KOLAB_FOLDER_TYPE_CONTACT << KOLAB_FOLDER_TYPE_EVENT << KOLAB_FOLDER_TYPE_TASK << KOLAB_FOLDER_TYPE_JOURNAL << KOLAB_FOLDER_TYPE_NOTE << KOLAB_FOLDER_TYPE_CONFIGURATION);
setupJob->exec();
if (setupJob->error()) {
Error() << setupJob->errorString();
@@ -355,7 +355,6 @@ void KolabAccount::setupFolders()
//TODO internationalize folder names
//TODO make part of setupkolabfoldersjob after adding types to folderTypeFromString in formathelpers.cpp
//TODO the suffixes should go in the private namespace
- createFolder("Configuration", KOLAB_FOLDER_TYPE_CONFIGURATION KOLAB_FOLDER_TYPE_DEFAULT_SUFFIX);
createFolder("Drafts", KOLAB_FOLDER_TYPE_MAIL KOLAB_FOLDER_TYPE_DRAFT_SUFFIX);
createFolder("Sent", KOLAB_FOLDER_TYPE_MAIL KOLAB_FOLDER_TYPE_SENT_SUFFIX);
createFolder("Trash", KOLAB_FOLDER_TYPE_MAIL KOLAB_FOLDER_TYPE_TRASH_SUFFIX);