diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-10 07:50:35 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-10-10 22:36:14 +0200 |
| commit | 439b758811486cbc75419df92192ef5307952ade (patch) | |
| tree | e216037816d918c0e29dcca48947b21d6b6755c4 /src/gui/util/qundostack.cpp | |
| parent | ad993827301206b9d179f35b88cbf8621b008853 (diff) | |
Fix QLineEdit frame color when using gradient style sheet and Fusion
When using a gradient style QBrush via style sheet, an
invalid color is set on the widget palette for the Window role.
This color is used to in QFusionStylePrivate::outline() to calculate
the outline color, resulting in a black/invalid color as well for
PE_FrameLineEdit. Fall back to the widget palette in case an invalid
color is encountered.
Pick-to: 6.10
Fixes: QTBUG-138960
Change-Id: Id1b5320476e59a743dfd0cf489032fe34e47d422
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/util/qundostack.cpp')
0 files changed, 0 insertions, 0 deletions
