summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/transform/main.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-11-15 14:05:19 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-11-30 02:51:37 +0100
commitf1fd15b4549a740dbd0abff44a43b551eef12d31 (patch)
tree300828bb86a379350fe7cda5c1a35355760fc027 /src/gui/doc/snippets/transform/main.cpp
parent11dc7e1c05d83d45c5057d50560037a2da4416a8 (diff)
QStyleSheetStyle: avoid double lookups to QRenderRule::styleHints
Avoid double lookups to QRenderRule::styleHints by simply checking if the returned QVariant from styleHint() is default-constructed. Pick-to: 6.8 Change-Id: I4ca657662c2af66582fb4fc7c2ed1b77258ab050 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/transform/main.cpp')
0 files changed, 0 insertions, 0 deletions