diff options
-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()) { |