diff options
| author | Christian Ehrlicher <[email protected]> | 2024-12-06 13:38:34 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <[email protected]> | 2024-12-17 19:59:00 +0100 |
| commit | 5731fe051e48e7a256ef31ae93cfb89ce8d871cc (patch) | |
| tree | d147964b17052c552b4a91019743e0207f148ec8 /examples/widgets/doc/src | |
| parent | 8ae4e3efdf80b658f8de19b13bfbea68e1dbd875 (diff) | |
QStyleSheetStyle: Fix resetting fonts for subwidgets
When a compound widget is styled with a font through a property and the
default styling has no font settings, the font was not reset to the
parent font but left it the styled state.
Fix it by not resolving the current font when the style rule has no font
settings - use the parent font directly instead.
Fixes: QTBUG-131685
Pick-to: 6.9 6.8
Change-Id: I8e79423cfeff24143cd051b282503c4565125b4d
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src')
0 files changed, 0 insertions, 0 deletions
