aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljstypereader.cpp
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-03-25 15:34:42 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-03-29 12:31:01 +0100
commit954071f372b70f3656386793e2fca382c1b0a1c0 (patch)
treeace5d46d8c00b5d96463365832eb0c14b75f812b /src/qmlcompiler/qqmljstypereader.cpp
parentb82ae347397595241dcd4a5848ad0c6bfae4574b (diff)
qmlcompiler/qmllint: Use unified logger
Improves the logging situation greatly by allowing all logging messages to be assigned different severities, highlighting the code that caused them and by now ensuring a qmllint warning will always result in a non-zero exit code. A later patch will expose more of these options to the user. Change-Id: Id9b036fe3ba80dd18e9f8cb1b05efa891713d5a8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljstypereader.cpp')
-rw-r--r--src/qmlcompiler/qqmljstypereader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljstypereader.cpp b/src/qmlcompiler/qqmljstypereader.cpp
index db64a9426b..cd9d604044 100644
--- a/src/qmlcompiler/qqmljstypereader.cpp
+++ b/src/qmlcompiler/qqmljstypereader.cpp
@@ -86,7 +86,7 @@ QQmlJSScope::Ptr QQmlJSTypeReader::operator()()
m_importer,
QQmlJSImportVisitor::implicitImportDirectory(
m_file, m_importer->resourceFileMapper()),
- m_qmltypesFiles);
+ m_qmltypesFiles, m_file, code);
rootNode->accept(&membersVisitor);
auto result = membersVisitor.result();
result->setInternalName(scopeName);