summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/code
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-01-14 17:50:39 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-01-16 00:01:43 +0100
commit43ce457cbd093fc06d99b5ac833c789ef7c893d5 (patch)
tree3cc4e2c5e6df2f1b7877124786e7db38cd90e85f /src/gui/doc/snippets/code
parent72ee1df260d728a1e699bd4c6e03bf202c929cbd (diff)
Widgets: pass widget to QStyle::pixelMetric()
Make sure to pass the widget to QStyle::pixelMetric() as some styles might use this (e.g. the new windows styles) to determine the correct pixel metric. Pick-to: 6.7 6.6 6.5 6.2 Task-number: QTBUG-1857 Change-Id: I5c32f5af8b284749732b610e56b4e3d8c8ed1946 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions