Docs: Change font.style to font.styleName
Task-number: QTBUG-114845
Change-Id: Ief1dae00d2b05cdfe964a813e446bf5e06f20653
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit 698b642391
)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f5061d37f3
commit
eae1fbc6af
|
@ -312,7 +312,7 @@ void QQuickFontLoader::updateFontInfo(int id)
|
||||||
text: "Fancy font"
|
text: "Fancy font"
|
||||||
font.family: webFont.font.family
|
font.family: webFont.font.family
|
||||||
font.weight: webFont.font.weight
|
font.weight: webFont.font.weight
|
||||||
font.style: webFont.font.style
|
font.styleName: webFont.font.styleName
|
||||||
font.pixelSize: 24
|
font.pixelSize: 24
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue