aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2022-04-14 14:35:49 +0200
committerAndreas Buhr <andreas@andreasbuhr.de>2022-04-15 00:05:24 +0200
commit414ccf4911c0dfc58c8fc96b4f51127e56a61246 (patch)
tree42f76e3b8f69202756b0848b85932ca051215d5a /tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
parent1ea4bde6ed0442f49da87751683f8ad5216ca083 (diff)
Fix tst_qquicktableview on Android
Pick-to: 6.2 6.3 Task-number: QTBUG-101865 Change-Id: Ieed455d57fad310b82a2b5d8f5dcf0a7f06301e4 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp')
-rw-r--r--tests/auto/quick/qquicktableview/tst_qquicktableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
index 3b42cdc855..cf6be03f49 100644
--- a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
+++ b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
@@ -74,7 +74,7 @@ Q_DECLARE_METATYPE(QMarginsF);
view->show(); \
QVERIFY(QTest::qWaitForWindowActive(view)); \
auto loader = view->rootObject()->property("loader").value<QQuickLoader *>(); \
- loader->setSource(QUrl::fromLocalFile("data/" fileName)); \
+ loader->setSource(testFileUrl(fileName)); \
QTRY_VERIFY(loader->item()); \
QCOMPARE(loader->status(), QQuickLoader::Status::Ready); \
GET_QML_TABLEVIEW(tableView)