summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-24 23:44:27 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-24 23:44:27 (GMT)
commitf7a3ece15715bea8c8588aa0682e6f798a533cab (patch)
tree55bdf64589dead4c9f6bd5c1fa0608e17ef7a01a /src/declarative/qml/qmlmetaproperty.cpp
parent00736dec26d7db60f8cbf8606ecf6d011c7182df (diff)
downloadQt-f7a3ece15715bea8c8588aa0682e6f798a533cab.zip
Qt-f7a3ece15715bea8c8588aa0682e6f798a533cab.tar.gz
Qt-f7a3ece15715bea8c8588aa0682e6f798a533cab.tar.bz2
Largely revert 40c12237b506bd and implement simpler more efficient way.
Still doubtful that ACTUAL version import is needed.
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index 99f9f0c..63415da 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -224,7 +224,7 @@ void QmlMetaPropertyPrivate::initProperty(QObject *obj, const QString &name)
if (typeData) {
QmlType *t = 0;
- enginePrivate->resolveType(typeData->imports, name.toLatin1(), &t, 0);
+ enginePrivate->resolveType(typeData->imports, name.toLatin1(), &t, 0, 0, 0);
if (t && t->attachedPropertiesFunction()) {
attachedFunc = t->index();
if (attachedFunc != -1)