summaryrefslogtreecommitdiffstats
path: root/framework/mail/maillistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/mail/maillistmodel.cpp')
-rw-r--r--framework/mail/maillistmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/mail/maillistmodel.cpp b/framework/mail/maillistmodel.cpp
index 95534cec..3ff8efc4 100644
--- a/framework/mail/maillistmodel.cpp
+++ b/framework/mail/maillistmodel.cpp
@@ -71,9 +71,9 @@ QVariant MailListModel::data(const QModelIndex &idx, int role) const
71 case Date: 71 case Date:
72 return srcIdx.sibling(srcIdx.row(), 3).data(Qt::DisplayRole).toString(); 72 return srcIdx.sibling(srcIdx.row(), 3).data(Qt::DisplayRole).toString();
73 case Unread: 73 case Unread:
74 return srcIdx.sibling(srcIdx.row(), 4).data(Qt::DisplayRole).toString(); 74 return srcIdx.sibling(srcIdx.row(), 4).data(Qt::DisplayRole).toBool();
75 case Important: 75 case Important:
76 return srcIdx.sibling(srcIdx.row(), 5).data(Qt::DisplayRole).toString(); 76 return srcIdx.sibling(srcIdx.row(), 5).data(Qt::DisplayRole).toBool();
77 case Id: 77 case Id:
78 return srcIdx.data(Sink::Store::DomainObjectBaseRole).value<Sink::ApplicationDomain::ApplicationDomainType::Ptr>()->identifier(); 78 return srcIdx.data(Sink::Store::DomainObjectBaseRole).value<Sink::ApplicationDomain::ApplicationDomainType::Ptr>()->identifier();
79 case DomainObject: 79 case DomainObject: