summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-12-21 14:16:57 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2021-01-14 19:09:13 +0000
commite9ccdf4d8415717323ea7849ded195343560514a (patch)
tree5a7f33061a67c7acc0a7a57dbd91e87ab66cb6e9 /src/gui/kernel/qguiapplication.cpp
parent20a17911576297f22b9da9849b677476c2d6e0ea (diff)
QPushButton/fusion style: don't ignore QIcon::On icon
The fusion style did ignore the QIcon::On icon because it reset State_On to avoid the visual shift of a pressed button. But it's not needed to reset this flag - the shift does not happen because the fusion style does return 0 as offset for PM_ButtonShiftHorizontal/PM_ButtonShiftVertical so no shifting will happen. Fixes: QTBUG-86736 Fixes: QTBUG-82110 Change-Id: Ie2aaddb14bc67874f5a9a23d9f04d7a08c6d070f Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions