diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-03-29 14:39:35 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-30 00:38:38 +0200 |
commit | 652fa5b7a44d2d7bb38126b4659e7347caa5d4a8 (patch) | |
tree | 8abac477546ef9451f3ca6ff4cacb3c55a8a0594 /src/qml/qml/v4/qv4compiler.cpp | |
parent | 2270895d7bf0d9908500b7da5e5948a86074e0d2 (diff) |
Use metaObjectForType in the v4 compiler.
Match usage in the v4 IR builder.
Change-Id: Ibc69a01d3948ab3ad0ed5c656e99b13a7edda8fc
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/v4/qv4compiler.cpp')
-rw-r--r-- | src/qml/qml/v4/qv4compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v4/qv4compiler.cpp b/src/qml/qml/v4/qv4compiler.cpp index c9495e8987..9354209643 100644 --- a/src/qml/qml/v4/qv4compiler.cpp +++ b/src/qml/qml/v4/qv4compiler.cpp @@ -373,7 +373,7 @@ void QV4CompilerPrivate::visitName(IR::Name *e) default: if (propTy == QQmlMetaType::QQuickAnchorLineMetaTypeId()) { regType = PODValueType; - } else if (QQmlMetaType::isQObject(propTy)) { + } else if (engine->metaObjectForType(propTy)) { regType = QObjectStarType; } else { if (qmlVerboseCompiler()) |