summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-css/main.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-28 10:25:06 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-29 21:56:14 +0100
commit3a825036a3cb2e29fe5822e5a158fb3fb4c63c32 (patch)
tree59274fcd004977ed09951552726e5e517dbc0981 /src/gui/doc/snippets/textdocument-css/main.cpp
parentab53500cfa11b988e7e4234583fa6eb5027b4c08 (diff)
Widget styles: use palette brushes to set the painter's brush
Don't go through the brush's color just to construct a new (solid) brush. It removes other brush information, unnecessarily constructs a temporary QBrush object. Change-Id: I0a02034225f8f1025c7395b31e2f32119f77a37c Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-css/main.cpp')
0 files changed, 0 insertions, 0 deletions