aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_htmlbuilder.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-04 19:22:39 +0200
committerDanilo M. <danix@danix.xyz>2026-08-04 19:22:39 +0200
commit8ac6037a3858e83f8391b87dc4acee4fd4363147 (patch)
tree4c2b892f448ddcfbb5273996df04ff664d97d7d2 /tests/test_htmlbuilder.cpp
parent69e777cc72bd846c250d68656a8d558c9401fcd5 (diff)
downloadqtmaildir-8ac6037a3858e83f8391b87dc4acee4fd4363147.tar.gz
qtmaildir-8ac6037a3858e83f8391b87dc4acee4fd4363147.zip
fix(ui): name the default button on the quit prompt
Item 31. The user could not tell which button Enter would press on the unsynced-changes dialog. The code was already correct: setDefaultButton() is called, and Qt agrees, isDefault() and hasFocus() are both true on "Sync and quit". The active style, qt6ct-style, simply draws no visible default-button decoration. The GIMP dialog offered for comparison is GTK drawing its own focus ring, a different toolkit. Naming the default in the text rather than restyling the button: overriding the appearance means fighting the user's theme, which is worse than one word. The safe option was already the default, so no behaviour changed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_htmlbuilder.cpp')
0 files changed, 0 insertions, 0 deletions