Commit a4cb022f authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

qmljs: fixing font type name



Change-Id: I3c6d827868a4e36eeedeac25887be64a7969c620
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent d7c68892
......@@ -478,7 +478,7 @@ SharedValueOwner::SharedValueOwner(SharedValueOwnerKind kind)
// QML objects
_qmlFontObject = newObject(/*prototype =*/ 0);
_qmlFontObject->setClassName(QLatin1String("Font"));
_qmlFontObject->setClassName(QLatin1String("font"));
_qmlFontObject->setMember(QLatin1String("family"), stringValue());
_qmlFontObject->setMember(QLatin1String("weight"), unknownValue()); // ### make me an object
_qmlFontObject->setMember(QLatin1String("capitalization"), unknownValue()); // ### make me an object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment