diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-22 21:10:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-22 21:10:08 +0200 |
commit | 0de58eb23927c7ecf923e2a63737c2d43b20572d (patch) | |
tree | d3da10ecb434616681f854585343042b2e0b1607 /framework/src | |
parent | e806a5e1b4a9236fd138719009a286bdf9cbb10f (diff) | |
download | kube-0de58eb23927c7ecf923e2a63737c2d43b20572d.tar.gz kube-0de58eb23927c7ecf923e2a63737c2d43b20572d.zip |
Support the removal of drafts.
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/domain/maillistmodel.cpp | 3 |
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>(); |