diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-03-12 10:14:33 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-03-12 17:15:18 +0100 |
commit | 0c5b453356913367f95fb4277747ca9d2b9eba2a (patch) | |
tree | 269ca4e57ba84d1cb713750ee80f632e1ebc2e27 /tools | |
parent | 482b7adcb7b5f399d30230b16bce9eb5bf4d12f7 (diff) |
qmllint: Also return non-zero on errors if we don't CheckIdentifiers
Change-Id: Ia5e1601de03aa4a925932999fb7bb5ff67daad75
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmllint/findwarnings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/findwarnings.cpp b/tools/qmllint/findwarnings.cpp index 6e0c9b4060..c7f2a557f6 100644 --- a/tools/qmllint/findwarnings.cpp +++ b/tools/qmllint/findwarnings.cpp @@ -490,7 +490,7 @@ bool FindWarningVisitor::check() } if (!m_warnUnqualified) - return true; + return m_errors.isEmpty(); CheckIdentifiers check(&m_colorOut, m_code, m_rootScopeImports, m_filePath); return check(m_scopesById, m_signalHandlers, m_memberAccessChains, m_globalScope, m_rootId) |