summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlist.h
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2021-03-30 14:03:43 +0200
committerDoris Verria <doris.verria@qt.io>2021-04-06 10:55:54 +0200
commit0eb0fc87014b8de06473055bd2298b2423d480f6 (patch)
treea605f9aab694e861612f75e990162f7bb90bf379 /src/corelib/tools/qlist.h
parent37f9f2e7afb2539ead355f1115e10835c2df9f92 (diff)
Fix incorrectly-drawn menu indicator for QPushButton on macOS
Because the QPushButton's bevel rect is smaller than its actual widget's rect, custom styled menu indicators are drawn outside the bevel frame on macOS. Fix this by drawing the menu indicator inside the bevel's rect instead of the widget's rect. Fixes: QTBUG-90250 Pick-to: 5.15 6.0 6.1 Change-Id: Ie63d68d8f564a4a640bdb8e7564f028784faab97 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/tools/qlist.h')
0 files changed, 0 insertions, 0 deletions