Commit 755dfe4e authored by Han Young's avatar Han Young Committed by Matthieu Gallien

Fix incorrect mpris2 volume display

parent 3345f405
......@@ -63,7 +63,7 @@ MediaPlayer2Player::MediaPlayer2Player(MediaPlayListProxyModel *playListControle
connect(m_audioPlayer, &AudioWrapper::volumeChanged,
this, &MediaPlayer2Player::playerVolumeChanged);
m_volume = m_audioPlayer->volume();
m_volume = m_audioPlayer->volume() / 100;
m_canPlay = m_manageMediaPlayerControl->playControlEnabled();
signalPropertiesChange(QStringLiteral("Volume"), Volume());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment