diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2022-12-20 11:54:29 +0100 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2022-12-22 19:41:12 +0100 |
| commit | d6352cd4aa6151be6ef4186cad34ca42bb49ed9f (patch) | |
| tree | 0f41d34a50c2c43c69a334e713506cefb3200162 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | dc8f44b14501ecd4acc196f5138aeff3f7502d0a (diff) | |
Native style: remove setting font from QStyle
This is a follow-up on 43eca45b06.
Which font a control should use should follow
normal font propagation. So setting a different
font explicitly in every control is not ideal.
The font is in practice the same for all controls
anyway.
This will also remove a warning that will be
printed if the application assigns a custom
background delegate to a Button.
Fixes: QTBUG-98098
Change-Id: I4f9304b391b4b9e398882fc532cbff5b09f53aff
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
