diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-02-23 10:03:28 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-02-28 08:46:21 +0100 |
commit | af05f278ed236e0f699e0af79524cf55054ba49f (patch) | |
tree | 834f466c35a032b09d418b1b752274571ccd6a0c /tests/auto/widgets | |
parent | 81c6f224c4f05db099d4690f2bc36455e1b943b4 (diff) |
QMacStyle: fix tool buttons (in checked mode)
While switching to the 'momentary push in' button type, the old code that
shows button as pressed/checked was removed. Since 'square' buttons
were sharing this part with rounded push buttons, the change broke
checked square buttons. So we retain the old code for this particular
case.
Also, add a minimal baseline test for this scenario: square button,
triggering 'toolbutton' style with/out 'checked' state.
Fixes: QTBUG-100802
Pick-to: 6.3 6.2
Change-Id: Ib7b15b13ead834c7bb2cd36de76ccd5bedb07810
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions