diff options
-rw-r--r-- | framework/mail/maillistcontroller.cpp | 4 |
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(); |