diff options
Diffstat (limited to 'tools/qmllint')
-rw-r--r-- | tools/qmllint/findwarnings.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/qmllint/findwarnings.cpp b/tools/qmllint/findwarnings.cpp index 019901507a..bcff23eba4 100644 --- a/tools/qmllint/findwarnings.cpp +++ b/tools/qmllint/findwarnings.cpp @@ -133,10 +133,6 @@ bool FindWarningVisitor::visit(QQmlJS::AST::UiProgram *) m_rootScopeImports.insert(baseTypes); } - // add "self" (as we only ever check the first part of a qualified identifier, we get away with - // using an empty QQmlJSScope - m_rootScopeImports.insert(QFileInfo { m_filePath }.baseName(), {}); - const auto imported = m_importer.importDirectory(QFileInfo(m_filePath).canonicalPath()); m_rootScopeImports.insert(imported); |