aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/importedmembersvisitor.h
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2020-06-16 23:52:24 +0300
committerEvgeniy A. Dushistov <dushistov@mail.ru>2020-06-17 14:04:42 +0300
commit3615c72b666633cef9045012bbb05d5372c35cdf (patch)
tree8c6a456db529bd46e2bec9f6b23e0990c8e4fd2f /tools/qmllint/importedmembersvisitor.h
parent1b10ce6a08edbc2ac7e8fd7e97e3fc691f2081df (diff)
qmllint: fix wrong warning about enum usage
Fixes: QTBUG-83796 Change-Id: I635bbfd98cf7be8418b454626ba7725e92b71c2c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/importedmembersvisitor.h')
-rw-r--r--tools/qmllint/importedmembersvisitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmllint/importedmembersvisitor.h b/tools/qmllint/importedmembersvisitor.h
index 045ba00420..023e58df73 100644
--- a/tools/qmllint/importedmembersvisitor.h
+++ b/tools/qmllint/importedmembersvisitor.h
@@ -59,6 +59,7 @@ private:
bool visit(QQmlJS::AST::UiPublicMember *) override;
bool visit(QQmlJS::AST::UiSourceElement *) override;
bool visit(QQmlJS::AST::UiScriptBinding *) override;
+ bool visit(QQmlJS::AST::UiEnumDeclaration *uied) override;
void throwRecursionDepthError() override;
ScopeTree::Ptr currentObject() const { return m_currentObjects.back(); }