mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
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:
parent
ca88882ccb
commit
777f8f5141
@ -66,7 +66,9 @@ void VolumeSlider::mouseMoveEvent(QMouseEvent *e)
|
||||
|
||||
QSlider::setValue(normalized);
|
||||
|
||||
blockSignals(true);
|
||||
emit valueChanged(normalized);
|
||||
blockSignals(false);
|
||||
}
|
||||
|
||||
void VolumeSlider::mouseReleaseEvent(QMouseEvent *e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user