summaryrefslogtreecommitdiffstats
path: root/framework/domain/maillistmodel.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-05 22:42:53 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-05 22:42:53 +0200
commit5fa8608e9877eab40336a60ed8ed979aaf3cfbd0 (patch)
treeb13061569d1c9d99f58edd2c31c1c6ba3f86618c /framework/domain/maillistmodel.cpp
parent268eb7207b955bb92e4ae2572996877e7f837325 (diff)
downloadkube-5fa8608e9877eab40336a60ed8ed979aaf3cfbd0.tar.gz
kube-5fa8608e9877eab40336a60ed8ed979aaf3cfbd0.zip
Adapted to new API
Diffstat (limited to 'framework/domain/maillistmodel.cpp')
-rw-r--r--framework/domain/maillistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/domain/maillistmodel.cpp b/framework/domain/maillistmodel.cpp
index e3f555c4..9afb6408 100644
--- a/framework/domain/maillistmodel.cpp
+++ b/framework/domain/maillistmodel.cpp
@@ -107,7 +107,7 @@ void MailListModel::setParentFolder(const QVariant &parentFolder)
107 } 107 }
108 Sink::Query query; 108 Sink::Query query;
109 query.liveQuery = true; 109 query.liveQuery = true;
110 query.resources << folder->resourceInstanceIdentifier(); 110 query.resourceFilter(folder->resourceInstanceIdentifier());
111 query.sort<Mail::Date>(); 111 query.sort<Mail::Date>();
112 query.limit = 100; 112 query.limit = 100;
113 query.request<Mail::Subject>(); 113 query.request<Mail::Subject>();