diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-03-04 06:45:26 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-03-04 08:22:12 +0000 |
commit | 33b091bd40187449a3e925659ae0738786e09de3 (patch) | |
tree | 31dcc8e5f11f3a38842a20c420195552266b730d /tests/auto | |
parent | 37abf3beb54368db6f5491b9243355640fc53408 (diff) |
QmlJS: Fix compile
..in general, with tests, and when using a namespaced Qt.
Amends b09a48599e7.
Change-Id: I99e275e10df5eed741d021911a360457f0d0d2e7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/codemodel/check/tst_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/codemodel/check/tst_check.cpp b/tests/auto/qml/codemodel/check/tst_check.cpp index 0c3ba465fc..8a52fd0ced 100644 --- a/tests/auto/qml/codemodel/check/tst_check.cpp +++ b/tests/auto/qml/codemodel/check/tst_check.cpp @@ -134,7 +134,7 @@ void tst_Check::test() const QRegExp messagePattern(" (\\d+) (\\d+) (\\d+)"); QList<Message> expectedMessages; - foreach (const AST::SourceLocation &comment, doc->engine()->comments()) { + foreach (const SourceLocation &comment, doc->engine()->comments()) { const QString text = doc->source().mid(comment.begin(), comment.end() - comment.begin()); if (messagePattern.indexIn(text) == -1) |