From 0de58eb23927c7ecf923e2a63737c2d43b20572d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 22 Jun 2017 21:10:08 +0200 Subject: Support the removal of drafts. --- framework/src/domain/maillistmodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/src') 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) { using namespace Sink::ApplicationDomain; Sink::Query query; - // query.setFlags(Sink::Query::LiveQuery | Sink::Query::UpdateStatus); + query.setFlags(Sink::Query::LiveQuery); query.filter(true); + query.filter(false); query.request(); query.request(); query.request(); -- cgit v1.2.3