aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-09 11:06:16 +0200
committerDanilo M. <danix@danix.xyz>2026-08-09 11:06:16 +0200
commit99709c65f674385d6fbe9da53fe91c5f6a715880 (patch)
tree11036afc447201c03f9d4613ff2644291a723207 /src/types.h
parent485ae659078c76d2f14fa5b1090241b2ef140b79 (diff)
downloadqtmaildir-99709c65f674385d6fbe9da53fe91c5f6a715880.tar.gz
qtmaildir-99709c65f674385d6fbe9da53fe91c5f6a715880.zip
fix(config): report an out-of-range message_zoom
The documented 0.5 to 3.0 range was already enforced, by MessageView::clampZoom(), so message_zoom = 500 rendered at 3.0 rather than unusably. What was missing is the report: the key parses, so nothing ever told the user that the value in their file is not the value on screen. Reported rather than clamped a second time. MessageView owns the bounds and does the work; a copy of the range in Config would be free to drift from the one that matters, so config.cpp reports against kMinZoom and kMaxZoom directly. This is where it differs from toolbar_icon_size, which has no widget-side enforcement to defer to. Backlog item 58, whose recorded cause was wrong on this point and has been corrected in place.
Diffstat (limited to 'src/types.h')
0 files changed, 0 insertions, 0 deletions