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 Change-Id: I8e79423cfeff24143cd051b282503c4565125b4d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 5731fe051e48e7a256ef31ae93cfb89ce8d871cc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 0dd2561d54209666cf78d053caf9b2d94fb1d80e) |
||
|---|---|---|
| .. | ||
| qmacstyle | ||
| qstyle | ||
| qstyleoption | ||
| qstylesheetstyle | ||
| CMakeLists.txt | ||