The propertyType member for variant properties needs to be initialized to -1 (at least
according to QDeclarativeVMEMetaObject::metaCall).
Change-Id: I44f226f2bce3732f3a4220fe24617b5cb2292f97
Reviewed-on: http://codereview.qt.nokia.com/3778
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
typeRefs[p->type] = builder.newString(strlen(builtinTypes[p->type].cppType));
typeRef = typeRefs[p->type];
if (p->type == Object::DynamicProperty::Variant)
- propertyType = qMetaTypeId<QVariant>();
+ propertyType = -1;
} else {
Q_ASSERT(p->type == Object::DynamicProperty::CustomList ||