summaryrefslogtreecommitdiffstats
path: root/src/threaddashboard.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-28 19:00:59 +0200
committerDanilo M. <danix@danix.xyz>2026-08-28 19:00:59 +0200
commitae74237ca11640ceb68887b2c6d09ecf1befb342 (patch)
tree6ae37c5ed27eeb27c55a17febe16d03fa3553503 /src/threaddashboard.cpp
parent46acb489691e5298181ce52bfe847889ee06fe68 (diff)
downloadqtmaildir-ae74237ca11640ceb68887b2c6d09ecf1befb342.tar.gz
qtmaildir-ae74237ca11640ceb68887b2c6d09ecf1befb342.zip
feat: show the dashboard when a conversation is selected
A thread row has no message to render, so the pane shows the conversation instead. A thread of one message still opens its message on one click, and the automatic mark-read is not armed for a row that displays nothing.
Diffstat (limited to 'src/threaddashboard.cpp')
-rw-r--r--src/threaddashboard.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/threaddashboard.cpp b/src/threaddashboard.cpp
index 8583379..56b587f 100644
--- a/src/threaddashboard.cpp
+++ b/src/threaddashboard.cpp
@@ -197,6 +197,9 @@ ThreadDashboard::ThreadDashboard(QWidget *parent) : QWidget(parent)
// Block 2: the tag chips. One tier, no muting, drawn by the same strip the
// message pane uses so the two cannot drift.
m_tags = new TagStrip;
+ // Named for the same reason the message pane's is: the two sit in one
+ // widget tree and an unqualified findChild cannot tell them apart.
+ m_tags->setObjectName(QStringLiteral("dashboardTagStrip"));
layout->addWidget(m_tags);
// Block 3: the counts, with the read-progress bar beneath.