aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qmllint/findwarnings.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/qmllint/findwarnings.cpp b/tools/qmllint/findwarnings.cpp
index 0131921928..fb69756415 100644
--- a/tools/qmllint/findwarnings.cpp
+++ b/tools/qmllint/findwarnings.cpp
@@ -831,14 +831,13 @@ bool FindWarningVisitor::visit(QQmlJS::AST::UiObjectDefinition *uiod)
name += id->name.toString() + QLatin1Char('.');
name.chop(1);
-
enterEnvironment(ScopeType::QMLScope, name);
- m_currentScope->resolveTypes(m_rootScopeImports.importedQmlNames);
- importExportedNames(m_currentScope);
-
if (name.isLower())
return false; // Ignore grouped properties for now
+ m_currentScope->resolveTypes(m_rootScopeImports.importedQmlNames);
+ importExportedNames(m_currentScope);
+
if (name.endsWith("Connections")) {
QString target;
auto member = uiod->initializer->members;