From cac1973a27767da898c07176e2a24121fc3b35a7 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Wed, 27 Jan 2010 09:23:06 +0100 Subject: [PATCH] Import the types in the declaring namespace object. --- src/libs/qmljs/qmljsbind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/qmljs/qmljsbind.cpp b/src/libs/qmljs/qmljsbind.cpp index 0ea48d73758..45b493acb4d 100644 --- a/src/libs/qmljs/qmljsbind.cpp +++ b/src/libs/qmljs/qmljsbind.cpp @@ -193,7 +193,7 @@ bool Bind::visit(UiImport *ast) } } - _typeEnvironment->setProperty(userComponent->componentName(), objectValue); + namespaceObject->setProperty(userComponent->componentName(), objectValue); } } } -- GitLab