diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2011-12-28 16:47:34 -0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-22 18:59:45 +0100 |
commit | bd112dab564997fc4260ecc9de1c29aaad7ffa53 (patch) | |
tree | e3a72a0440aeff5021b7948db9c50da9b9efd2b2 /tests/auto/gui/image/qmovie/tst_qmovie.cpp | |
parent | 29518b04a619fdd7784e88eebe687fb87ae8a8b5 (diff) |
Make tst_qmovie work in shadow builds
Change-Id: I8fe4b5e98ce2fb1ac8420bf568f5c9c973165fbf
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests/auto/gui/image/qmovie/tst_qmovie.cpp')
-rw-r--r-- | tests/auto/gui/image/qmovie/tst_qmovie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/image/qmovie/tst_qmovie.cpp b/tests/auto/gui/image/qmovie/tst_qmovie.cpp index 1a66141ea1..e60d41f5ed 100644 --- a/tests/auto/gui/image/qmovie/tst_qmovie.cpp +++ b/tests/auto/gui/image/qmovie/tst_qmovie.cpp @@ -196,10 +196,10 @@ void tst_QMovie::jumpToFrame() void tst_QMovie::changeMovieFile() { - QMovie movie("animations/comicsecard.gif"); + QMovie movie(QFINDTESTDATA("animations/comicsecard.gif")); movie.start(); movie.stop(); - movie.setFileName("animations/trolltech.gif"); + movie.setFileName(QFINDTESTDATA("animations/trolltech.gif")); QVERIFY(movie.currentFrameNumber() == -1); } |