diff options
author | Andreas Buhr <andreas@andreasbuhr.de> | 2022-04-14 14:35:49 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-19 12:24:50 +0000 |
commit | 199ed691a74c6f5d292f8fcfda39eb568407928e (patch) | |
tree | 3d2347965c87dc4f59c31bc039c19ee2e9e471f3 | |
parent | 60e925ba1892a6427f005ba73a8a34f26b5e9e4b (diff) |
Fix tst_qquicktableview on Android
Task-number: QTBUG-101865
Change-Id: Ieed455d57fad310b82a2b5d8f5dcf0a7f06301e4
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 414ccf4911c0dfc58c8fc96b4f51127e56a61246)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/quick/qquicktableview/tst_qquicktableview.cpp | 2 |
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 2f0e6890e0..bb9758f24e 100644 --- a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp +++ b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp @@ -73,7 +73,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) |