diff --git a/tests/auto/gui/image/qmovie/tst_qmovie.cpp b/tests/auto/gui/image/qmovie/tst_qmovie.cpp index 29c3297043c..b16ea485145 100644 --- a/tests/auto/gui/image/qmovie/tst_qmovie.cpp +++ b/tests/auto/gui/image/qmovie/tst_qmovie.cpp @@ -125,7 +125,6 @@ void tst_QMovie::playMovie_data() void tst_QMovie::playMovie() { QFETCH(QString, fileName); - QFETCH(int, frameCount); QMovie movie(QFINDTESTDATA(fileName)); @@ -147,6 +146,8 @@ void tst_QMovie::playMovie() connect(&movie, SIGNAL(finished()), this, SLOT(exitLoopSlot())); #ifndef QT_NO_WIDGETS + QFETCH(int, frameCount); + QLabel label; label.setMovie(&movie); label.show();