From 91920f431cccbd425b28b9ee553fa425c005d7fe Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 12:08:16 +0200 Subject: feat: spam on the message bar, with a bug icon and junk fallback --- src/mainwindow.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 14bb06f..1fc8822 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -235,6 +235,16 @@ public: return everySelectedRowIsInATrashFolder(); } + /// The icon table's two theme names for a known action: primary first, + /// fallback second (empty when the action has none), and a pair of empty + /// strings for an action the table does not carry. + /// + /// A test seam. The table lives at file scope in mainwindow.cpp and the + /// fallback is invisible from the resolved QIcon: a theme that has BOTH + /// names renders identically whichever one the code tried, so a test on + /// the icon alone cannot catch a fallback wired to the wrong entry. + static QPair iconNamesForTesting(const QString &action); + /// Runs a purge without the confirmation, which a test cannot drive: a /// modal blocks the thread it is shown on (item 84). What this exists to /// cover is what happens AFTER the user confirms. -- cgit v1.2.3