summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp2
-rw-r--r--tests/auto/unit/qmultimedia_common/mockmediastreamscontrol.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index ec520e901..b0d84b836 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -1409,7 +1409,7 @@ void tst_QMediaPlayerBackend::multipleSurfaces()
surface2.setSupportedFormats(formats2);
QMediaPlayer player;
- player.setVideoOutput(QVector<QAbstractVideoSurface *>() << &surface1 << &surface2);
+ player.setVideoOutput(QList<QAbstractVideoSurface *>() << &surface1 << &surface2);
player.setMedia(localVideoFile);
player.play();
QTRY_VERIFY(player.position() >= 1000);
diff --git a/tests/auto/unit/qmultimedia_common/mockmediastreamscontrol.h b/tests/auto/unit/qmultimedia_common/mockmediastreamscontrol.h
index 197d4c0f0..9242dae06 100644
--- a/tests/auto/unit/qmultimedia_common/mockmediastreamscontrol.h
+++ b/tests/auto/unit/qmultimedia_common/mockmediastreamscontrol.h
@@ -59,7 +59,7 @@ private:
bool active;
};
- QVector<Stream> _streams;
+ QList<Stream> _streams;
};
#endif // MOCKMEDIASTREAMSCONTROL_H