From c354798305f79805ca208951ba1ea8f43f7fe717 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 26 Jun 2016 10:44:22 +0200 Subject: Use specialpurpose preprocessor which gives us trash folder support. --- common/domain/applicationdomaintype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index df63c35..d1faf25 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp @@ -253,7 +253,7 @@ namespace MaildirResource { auto &&resource = ApplicationDomainType::createEntity(); resource.setProperty("type", "org.kde.maildir"); resource.setProperty("account", account); - resource.setProperty("capabilities", QVariant::fromValue(QByteArrayList() << ResourceCapabilities::Mail::storage << ResourceCapabilities::Mail::drafts << "-folder.rename")); + resource.setProperty("capabilities", QVariant::fromValue(QByteArrayList() << ResourceCapabilities::Mail::storage << ResourceCapabilities::Mail::drafts << "-folder.rename" << ResourceCapabilities::Mail::trash)); return resource; } } -- cgit v1.2.3