Commit 34751f4a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Added family to the QML font object.

parent fbd624d1
......@@ -284,6 +284,7 @@ public:
case QMetaType::QFont: {
// ### cache
ObjectValue *object = engine()->newObject(/*prototype =*/ 0);
object->setProperty("family", engine()->stringValue());
object->setProperty("weight", engine()->undefinedValue()); // ### make me an object
object->setProperty("copitalization", engine()->undefinedValue()); // ### make me an object
object->setProperty("bold", engine()->booleanValue());
......
Supports Markdown
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