aboutsummaryrefslogtreecommitdiffstats
path: root/src/carddelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/carddelegate.cpp')
-rw-r--r--src/carddelegate.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/carddelegate.cpp b/src/carddelegate.cpp
index 4e27e6e..9a98c69 100644
--- a/src/carddelegate.cpp
+++ b/src/carddelegate.cpp
@@ -52,6 +52,8 @@ CardLayout::Input inputFor(const QModelIndex &index)
in.flagged = index.data(ThreadListModel::IsFlaggedRole).toBool();
in.hasAttachment = index.data(ThreadListModel::HasAttachmentRole).toBool();
in.passed = index.data(ThreadListModel::IsPassedRole).toBool();
+ in.receivedForward =
+ index.data(ThreadListModel::IsReceivedForwardRole).toBool();
in.replied = index.data(ThreadListModel::IsRepliedRole).toBool();
return in;
}
@@ -256,6 +258,7 @@ void CardDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
drawMark(card.flagRect, Marks::Mark::Flagged);
drawMark(card.attachmentRect, Marks::Mark::Attachment);
drawMark(card.passedRect, Marks::Mark::Passed);
+ drawMark(card.receivedForwardRect, Marks::Mark::ReceivedForward);
drawMark(card.repliedRect, Marks::Mark::Replied);
// The reply count, which is also the expander, drawn as a PILL.