diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-14 12:15:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-14 12:15:35 +0200 |
| commit | 3d986788b9576451ef1215e0f423d587629b3f81 (patch) | |
| tree | 6b414be3ededeb6e50d26c0175420ee5f6933e5d /src/keymap.cpp | |
| parent | 91920f431cccbd425b28b9ee553fa425c005d7fe (diff) | |
| download | qtmaildir-3d986788b9576451ef1215e0f423d587629b3f81.tar.gz qtmaildir-3d986788b9576451ef1215e0f423d587629b3f81.zip | |
feat: empty spam moves mail to the trash, per account
Diffstat (limited to 'src/keymap.cpp')
| -rw-r--r-- | src/keymap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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"), |
