diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-23 18:08:24 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-23 18:08:24 +0100 |
commit | 236fb1cb3a1d1638c52cf53fec341e64e7123091 (patch) | |
tree | 27712e59df85e6ba59fc675e9291b622e47672cf | |
parent | 7fbd3cbdadb5bfb509b9bc396d949fe38a067072 (diff) | |
download | kube-236fb1cb3a1d1638c52cf53fec341e64e7123091.tar.gz kube-236fb1cb3a1d1638c52cf53fec341e64e7123091.zip |
Fixed unread status for individual mails
-rw-r--r-- | framework/src/domain/maillistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/domain/maillistmodel.cpp b/framework/src/domain/maillistmodel.cpp index a1e137b3..e2f52d13 100644 --- a/framework/src/domain/maillistmodel.cpp +++ b/framework/src/domain/maillistmodel.cpp | |||
@@ -142,7 +142,7 @@ QVariant MailListModel::data(const QModelIndex &idx, int role) const | |||
142 | if (mail->isAggregate()) { | 142 | if (mail->isAggregate()) { |
143 | return mail->getCollectedProperty<Sink::ApplicationDomain::Mail::Unread>().contains(true); | 143 | return mail->getCollectedProperty<Sink::ApplicationDomain::Mail::Unread>().contains(true); |
144 | } else { | 144 | } else { |
145 | return mail->getImportant(); | 145 | return mail->getUnread(); |
146 | } | 146 | } |
147 | case Important: | 147 | case Important: |
148 | if (mail->isAggregate()) { | 148 | if (mail->isAggregate()) { |