summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-11-27 19:51:11 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-09 18:47:46 +0100
commit46d21a3b34c2d252db14419a45957991acea949d (patch)
tree3b7b3d35224aee7e2dffe93533c799e597d8897b /src/widgets/itemviews
parent485e4a8f0be1f30d0b0e55e2918506c85d2cbeda (diff)
QPushButton: fix icon + text layouting in RTL mode
The fusion style did not properly handle the text layouting for a QPushButton in RTL mode. Also the menu indicator was not adjusted in this case. Fix it by calling the base class implementation as QCommonStyle does it mostly right. Since Fusion does not handle State_On or State_Sunken but QCommonStyle does, explicitly mask them out. Fixes: QTBUG-80083 Change-Id: Ide7bf997b4f4a5b61fcb8ea4a1a152122daef1e2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions