diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-12 11:38:08 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-15 09:37:06 +0200 |
commit | ed9ffa109eb2f242b59443ad430204a90c8028c4 (patch) | |
tree | 6bc947fc1b2083bda907be03fac18d97b32a670a /tools/qmllint/findwarnings.h | |
parent | 9344fcf1a6f4dc6c8176912ac7f2c37e05bf873f (diff) |
qmllint: Unify the printing of diagnostics
We can use QQmlJS::DiagnosticMessage to carry message, type, and
location.
Change-Id: I3868bc8035b4da13efad0d1b7d2f8dfeff1ef234
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/findwarnings.h')
-rw-r--r-- | tools/qmllint/findwarnings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmllint/findwarnings.h b/tools/qmllint/findwarnings.h index 74d86222b5..7d07114b32 100644 --- a/tools/qmllint/findwarnings.h +++ b/tools/qmllint/findwarnings.h @@ -79,6 +79,7 @@ private: QString m_rootId; QString m_filePath; QSet<QString> m_unknownImports; + QList<QQmlJS::DiagnosticMessage> m_errors; ColorOutput m_colorOut; bool m_visitFailed = false; |