summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler.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/qmlcompiler.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/qmlcompiler.cpp')
-rw-r--r--src/declarative/qml/qmlcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp
index 1771cb4..ad63b5b 100644
--- a/src/declarative/qml/qmlcompiler.cpp
+++ b/src/declarative/qml/qmlcompiler.cpp
@@ -1176,7 +1176,7 @@ bool QmlCompiler::buildProperty(QmlParser::Property *prop,
}
QmlType *type = 0;
- QmlEnginePrivate::get(engine)->resolveType(unit->imports, prop->name, &type, 0);
+ QmlEnginePrivate::get(engine)->resolveType(unit->imports, prop->name, &type, 0, 0, 0);
// 0: attached properties not supported in QML component files
if (!type || !type->attachedPropertiesType())