summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylesheetstyle_default.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-27 12:49:44 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-12-28 10:10:32 +0100
commit411c2e3e4f32ab98bab65bcd53faf11da3c4efd0 (patch)
treea2e0422e554bd617f8e4cd151beaf0f9b5e25d9b /src/widgets/styles/qstylesheetstyle_default.cpp
parent6e3b4ddd9256801dc7d0c245808e81dc669b1f2f (diff)
QCommonStyle: make sure to pass the widget to pixelMetric()
QStyle::pixelMetric() expects the affected QWidget as third parameter. Some (external) styles rely on this to return the correct value. Therefore add the widget to the function calls where possible. Fixes: QTBUG-80971 Task-number: QTBUG-1857 Change-Id: I768ebb61a914cdba6e0549f841d46cf3edb0a2a6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylesheetstyle_default.cpp')
0 files changed, 0 insertions, 0 deletions