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>
This commit is contained in:
committed by
The Qt Project
parent
f6e57f80a8
commit
a7b8872cd5
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user