diff -r ef0373b55136 -r 758a864f9613 src/declarative/qml/qdeclarativecompiledbindings.cpp --- a/src/declarative/qml/qdeclarativecompiledbindings.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/declarative/qml/qdeclarativecompiledbindings.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -1628,7 +1628,7 @@ /*! Clear the state associated with attempting to compile a specific binding. -This does not clear the global "commited binding" states. +This does not clear the global "committed binding" states. */ void QDeclarativeBindingCompilerPrivate::resetInstanceState() { @@ -1874,7 +1874,7 @@ 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;