summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/metawatch-digital.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qmsgwatchlet/metawatch-digital.qml')
-rw-r--r--qmsgwatchlet/metawatch-digital.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/qmsgwatchlet/metawatch-digital.qml b/qmsgwatchlet/metawatch-digital.qml
index e5e999f..89a5f00 100644
--- a/qmsgwatchlet/metawatch-digital.qml
+++ b/qmsgwatchlet/metawatch-digital.qml
@@ -20,6 +20,7 @@ MWPage {
anchors.bottom: parent.bottom
clip: true
model: MessageModel {
+ id: model
sortBy: MessageModel.Timestamp
sortOrder: MessageModel.DescendingOrder
filter: MessageIntersectionFilter {
@@ -33,6 +34,16 @@ MWPage {
comparator: MessageFilter.Equal
value: MessageFilter.InboxFolder
}
+ MessageFilter {
+ type: MessageFilter.Status
+ comparator: MessageFilter.Includes
+ value: MessageFilter.Incoming
+ }
+ MessageFilter {
+ type: MessageFilter.Status
+ comparator: MessageFilter.Excludes
+ value: MessageFilter.Removed
+ }
}
limit: 20
}