From 3d986788b9576451ef1215e0f423d587629b3f81 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 12:15:35 +0200 Subject: feat: empty spam moves mail to the trash, per account --- src/keymap.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/keymap.cpp') diff --git a/src/keymap.cpp b/src/keymap.cpp index b7cf8f5..098a85d 100644 --- a/src/keymap.cpp +++ b/src/keymap.cpp @@ -41,6 +41,12 @@ QStringList KeyMap::knownActions() // carries no default binding for exactly the same reason: the act is // identical and so is the hazard. QStringLiteral("purge"), + // Empty trash's other sibling, per ACCOUNT: it MOVES every message in + // the spam folder to that account's trash, so it is undoable and + // carries no confirmation. No default binding either: a bulk move + // deserves a deliberate gesture, and since item 132 an unbound action + // is menu-reachable rather than broken. + QStringLiteral("empty_spam"), QStringLiteral("spam"), QStringLiteral("toggle_unread"), QStringLiteral("mark_all_read"), -- cgit v1.2.3