diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-24 07:01:17 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-24 07:01:17 (GMT) |
commit | 3b6ac3b45a333815b097603c93bb38d97782826e (patch) | |
tree | 28b3b17179d4b5ce2afbbb323914196105dfaeca /src/declarative/qml/qmldom.cpp | |
parent | d150ada7c985f066e9c59571ce3db2bc6494ca08 (diff) | |
download | Qt-3b6ac3b45a333815b097603c93bb38d97782826e.zip Qt-3b6ac3b45a333815b097603c93bb38d97782826e.tar.gz Qt-3b6ac3b45a333815b097603c93bb38d97782826e.tar.bz2 |
Add the fully-qualified type name to the DOM (via QmlParser::Object)
QML-defined ones are still defined by their URL, not a qualified name.
Diffstat (limited to 'src/declarative/qml/qmldom.cpp')
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index 73332fe..6725950 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -161,7 +161,6 @@ QList<QmlDomImport> QmlDomDocument::imports() const */ bool QmlDomDocument::load(QmlEngine *engine, const QByteArray &data, const QUrl &url) { - Q_UNUSED(engine); d->errors.clear(); d->imports.clear(); @@ -951,7 +950,7 @@ QByteArray QmlDomObject::customTypeData() const bool QmlDomObject::isComponent() const { return d->isVirtualComponent || - (d->object && d->object->typeName == "Component"); + (d->object && d->object->typeName == "Qt/4.6/Component"); } /*! |