fix: 任务栏和控制中心声音不同步

任务栏声音滑动条滚动时,未同步收到后端传来的声音改变信号

Log: 修复调节任务栏音量与控制中心输出音量不同步问题
Bug: https://pms.uniontech.com/zentao/bug-view-48689.html
Change-Id: I191f7fde36eb908c23ca6e59dee856c3cbe6ebdc
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/5593
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com>
Tested-by: <mailman@uniontech.com>
This commit is contained in:
xiechuan 2020-09-19 20:15:22 +08:00 committed by fanpengcheng
parent ca88882ccb
commit 777f8f5141

View File

@ -66,7 +66,9 @@ void VolumeSlider::mouseMoveEvent(QMouseEvent *e)
QSlider::setValue(normalized);
blockSignals(true);
emit valueChanged(normalized);
blockSignals(false);
}
void VolumeSlider::mouseReleaseEvent(QMouseEvent *e)