summaryrefslogtreecommitdiffstats
path: root/framework/src
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-22 21:10:08 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-22 21:10:08 +0200
commit0de58eb23927c7ecf923e2a63737c2d43b20572d (patch)
treed3da10ecb434616681f854585343042b2e0b1607 /framework/src
parente806a5e1b4a9236fd138719009a286bdf9cbb10f (diff)
downloadkube-0de58eb23927c7ecf923e2a63737c2d43b20572d.tar.gz
kube-0de58eb23927c7ecf923e2a63737c2d43b20572d.zip
Support the removal of drafts.
Diffstat (limited to 'framework/src')
-rw-r--r--framework/src/domain/maillistmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/domain/maillistmodel.cpp b/framework/src/domain/maillistmodel.cpp
index 97c37384..fa0dda04 100644
--- a/framework/src/domain/maillistmodel.cpp
+++ b/framework/src/domain/maillistmodel.cpp
@@ -310,8 +310,9 @@ void MailListModel::setShowDrafts(bool)
310{ 310{
311 using namespace Sink::ApplicationDomain; 311 using namespace Sink::ApplicationDomain;
312 Sink::Query query; 312 Sink::Query query;
313 // query.setFlags(Sink::Query::LiveQuery | Sink::Query::UpdateStatus); 313 query.setFlags(Sink::Query::LiveQuery);
314 query.filter<Mail::Draft>(true); 314 query.filter<Mail::Draft>(true);
315 query.filter<Mail::Trash>(false);
315 query.request<Mail::Subject>(); 316 query.request<Mail::Subject>();
316 query.request<Mail::Sender>(); 317 query.request<Mail::Sender>();
317 query.request<Mail::To>(); 318 query.request<Mail::To>();