summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-09 15:44:39 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-09 15:44:39 +0100
commitf521b4b36f03fbc48ea63f4a683bcfecd28c2c2e (patch)
treed9ef6ef09215df9c9e6333a6b61619fa5daabbe3 /framework
parent69516c7ab35a0f12271bdd1c180794a574aca2a5 (diff)
downloadkube-f521b4b36f03fbc48ea63f4a683bcfecd28c2c2e.tar.gz
kube-f521b4b36f03fbc48ea63f4a683bcfecd28c2c2e.zip
That's how you set a folder filter
But the filter is currentl always "some id"
Diffstat (limited to 'framework')
-rw-r--r--framework/mail/maillistcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/mail/maillistcontroller.cpp b/framework/mail/maillistcontroller.cpp
index aa53c76b..ea7d1661 100644
--- a/framework/mail/maillistcontroller.cpp
+++ b/framework/mail/maillistcontroller.cpp
@@ -31,8 +31,8 @@ void MailListController::setFolderId(const QString &folderId)
31 query.syncOnDemand = false; 31 query.syncOnDemand = false;
32 query.processAll = false; 32 query.processAll = false;
33 query.liveQuery = true; 33 query.liveQuery = true;
34 query.requestedProperties << "subject" << "sender" << "senderName" << "date" << "unread" << "important"; 34 query.requestedProperties << "subject" << "sender" << "senderName" << "date" << "unread" << "important" << "folder";
35 query.parentProperty = folderId.toLatin1(); 35 query.propertyFilter.insert("folder", folderId.toLatin1());
36 m_model->runQuery(query); 36 m_model->runQuery(query);
37 37
38 emit folderIdChanged(); 38 emit folderIdChanged();