diff options
author | Yoann Lopes <yoann.lopes@digia.com> | 2014-04-08 18:50:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-09 14:48:49 +0200 |
commit | a7b8872cd5de1908bb2daa08a32afb5bff879ac2 (patch) | |
tree | a80a7d96b6f652a4fe84b7c53c54fc83c6a7436f /tests | |
parent | f6e57f80a85f5341d2db074ca7c6ecd468b8ca7f (diff) | |
download | qtmultimedia-a7b8872cd5de1908bb2daa08a32afb5bff879ac2.tar.gz |
Fix some MediaPlayer properties returning wrong values.
Once the QML component is complete, don't cache any value anymore and
always ask the backend for the actual value.
Change-Id: I2c3ad55618e0532f713cfcc8258a70a1114fc975
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp b/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp index 57f820b54..fb946d760 100644 --- a/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp +++ b/tests/auto/unit/qdeclarativeaudio/tst_qdeclarativeaudio.cpp @@ -777,7 +777,7 @@ void tst_QDeclarativeAudio::playbackRate() audio.setPlaybackRate(2.0); QCOMPARE(audio.playbackRate(), qreal(2.0)); QCOMPARE(provider.playerControl()->playbackRate(), qreal(2.0)); - QCOMPARE(spy.count(), 3); + QCOMPARE(spy.count(), 2); } void tst_QDeclarativeAudio::status() |