aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-03 14:52:37 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-06-24 12:47:39 +0200
commited9f94779e87a763038afbf25a9e1a44a498a3ed (patch)
tree2c17f0054b358d77ee295f04197cba7b45fea156 /src/qmltest
parent470f3e76511f14d6970eaa6dc7e1589f529530bd (diff)
QML: Port QV4::CompiledData::Location to new special integer bitfield
Task-number: QTBUG-99545 Change-Id: If0d6f893f2351a4146ddf125be4079b5e312f308 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> (cherry picked from commit 893b6ae6e890a2b8fc842d9c9cc64b9b8f34e22f)
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index b2725b6846..eda7884cd8 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -330,8 +330,8 @@ private:
} else {
QQmlError error;
error.setUrl(compilationUnit->url());
- error.setLine(binding->location.line);
- error.setColumn(binding->location.column);
+ error.setLine(binding->location.line());
+ error.setColumn(binding->location.column());
error.setDescription(QStringLiteral("the 'name' property of a TestCase must be a literal string"));
result.errors << error;
}