Make tst_qmovie work in shadow builds

Change-Id: I8fe4b5e98ce2fb1ac8420bf568f5c9c973165fbf
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
bb10
Thiago Macieira 2011-12-28 16:47:34 -02:00 committed by Qt by Nokia
parent 29518b04a6
commit bd112dab56
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}