summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiledbindings.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-08-27 04:32:25 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-08-27 04:32:25 (GMT)
commit34a107454426db2f40b3be31923b8a5ce1d84f6e (patch)
tree06c08608be336beaf5f072a405202e6cb2247a9c /src/declarative/qml/qdeclarativecompiledbindings.cpp
parent06f2a6982680beb5d72321b690af1ac9df5afd95 (diff)
downloadQt-34a107454426db2f40b3be31923b8a5ce1d84f6e.zip
Qt-34a107454426db2f40b3be31923b8a5ce1d84f6e.tar.gz
Qt-34a107454426db2f40b3be31923b8a5ce1d84f6e.tar.bz2
Internal QML API cleanup
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiledbindings.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecompiledbindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompiledbindings.cpp b/src/declarative/qml/qdeclarativecompiledbindings.cpp
index 723da94..9402596 100644
--- a/src/declarative/qml/qdeclarativecompiledbindings.cpp
+++ b/src/declarative/qml/qdeclarativecompiledbindings.cpp
@@ -1874,7 +1874,7 @@ bool QDeclarativeBindingCompilerPrivate::parseName(AST::Node *node, Result &type
return false;
QDeclarativeImportedNamespace *ns = 0;
- if (!engine->importDatabase.resolveType(imports, name.toUtf8(), &attachType, 0, 0, 0, &ns))
+ if (!imports.resolveType(name.toUtf8(), &attachType, 0, 0, 0, &ns))
return false;
if (ns || !attachType || !attachType->attachedPropertiesType())
return false;