diff options
-rw-r--r-- | tests/auto/quick/qquickanimations/tst_qquickanimations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp index e2bac5ee39..924672d8b5 100644 --- a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp +++ b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp @@ -1899,7 +1899,7 @@ void tst_qquickanimations::opacityAnimationFromZero() void tst_qquickanimations::alwaysRunToEndInSequentialAnimationBug() { - QQuickView view(QUrl::fromLocalFile("data/alwaysRunToEndInSequentialAnimationBug.qml")); + QQuickView view(testFileUrl("alwaysRunToEndInSequentialAnimationBug.qml")); view.show(); QVERIFY(QTest::qWaitForWindowExposed(&view)); @@ -2001,7 +2001,7 @@ void tst_qquickanimations::alwaysRunToEndInSequentialAnimationBug() void tst_qquickanimations::cleanupWhenRenderThreadStops() { - QQuickView view(QUrl::fromLocalFile("data/cleanupWhenRenderThreadStops.qml")); + QQuickView view(testFileUrl("cleanupWhenRenderThreadStops.qml")); view.show(); view.setPersistentGraphics(false); view.setPersistentSceneGraph(false); |