From 207be0e03b18ca2af4949f44b6f8bcadd6220695 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 9 Feb 2016 10:29:49 +0100 Subject: Made the maillist a bit easier to look at. --- framework/mail/maillistmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') 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 case Date: return srcIdx.sibling(srcIdx.row(), 3).data(Qt::DisplayRole).toString(); case Unread: - return srcIdx.sibling(srcIdx.row(), 4).data(Qt::DisplayRole).toString(); + return srcIdx.sibling(srcIdx.row(), 4).data(Qt::DisplayRole).toBool(); case Important: - return srcIdx.sibling(srcIdx.row(), 5).data(Qt::DisplayRole).toString(); + return srcIdx.sibling(srcIdx.row(), 5).data(Qt::DisplayRole).toBool(); case Id: return srcIdx.data(Sink::Store::DomainObjectBaseRole).value()->identifier(); case DomainObject: -- cgit v1.2.3