mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 静音状态时拖动音量滑块不能解除静音
静音状态时,拖动滑块后,与后端交互,取消静音状态 Log: 修复静音状态时拖动音量滑块不能解除静音问题 Bug: https://pms.uniontech.com/zentao/bug-view-50604.html Change-Id: I88c8449542a154244e72065f3edeb23f1638676f Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/7346 Reviewed-by: <mailman@uniontech.com> Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com> Tested-by: <mailman@uniontech.com>
This commit is contained in:
parent
abc87b95c9
commit
56cad09af1
@ -273,6 +273,8 @@ void SoundApplet::onVolumeChanged()
|
||||
void SoundApplet::volumeSliderValueChanged()
|
||||
{
|
||||
m_defSinkInter->SetVolume(m_volumeSlider->value() / 100.0f, true);
|
||||
if (m_defSinkInter->mute())
|
||||
m_defSinkInter->SetMuteQueued(false);
|
||||
}
|
||||
|
||||
void SoundApplet::sinkInputsChanged()
|
||||
|
Loading…
x
Reference in New Issue
Block a user