BlackBerry: Fixed volume setting

Mute status is taken into account when setting the volume.

Change-Id: Id2b9c7f6a1e5b6e4f5d4c82830544394c714b48f
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
This commit is contained in:
Bernd Weimer
2014-01-08 16:09:13 +01:00
committed by The Qt Project
parent f74d7393b8
commit da89319f38

View File

@@ -530,7 +530,7 @@ void MmRendererMediaPlayerControl::play()
}
setPositionInternal(m_position);
setVolumeInternal(m_volume);
setVolumeInternal(m_muted ? 0 : m_volume);
setPlaybackRateInternal(m_rate);
if (mmr_play(m_context) != 0) {