mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 应用音量调节提示音修改成静音时,修改错误,现更正
This commit is contained in:
parent
bfbe3a19ff
commit
5f41aba0ef
@ -100,7 +100,7 @@ SinkInputWidget::SinkInputWidget(const QString &inputPath, QWidget *parent)
|
||||
|
||||
connect(m_volumeSlider, &VolumeSlider::valueChanged, this, &SinkInputWidget::setVolume);
|
||||
connect(m_volumeSlider, &VolumeSlider::valueChanged, this, &SinkInputWidget::onVolumeChanged);
|
||||
connect(m_volumeSlider, &VolumeSlider::requestPlaySoundEffect, this, &SinkInputWidget::onPlaySoundEffect);
|
||||
// connect(m_volumeSlider, &VolumeSlider::requestPlaySoundEffect, this, &SinkInputWidget::onPlaySoundEffect);
|
||||
connect(m_appBtn, &DImageButton::clicked, this, &SinkInputWidget::setMute);
|
||||
connect(m_volumeBtnMin, &DImageButton::clicked, this, &SinkInputWidget::setMute);
|
||||
connect(m_inputInter, &DBusSinkInput::MuteChanged, this, &SinkInputWidget::setMuteIcon);
|
||||
@ -172,7 +172,7 @@ void SinkInputWidget::setMuteIcon()
|
||||
void SinkInputWidget::onPlaySoundEffect()
|
||||
{
|
||||
// set the mute property to false to play sound effects.
|
||||
m_inputInter->SetMuteQueued(true);
|
||||
m_inputInter->SetMuteQueued(false);
|
||||
}
|
||||
|
||||
void SinkInputWidget::refreshIcon()
|
||||
|
Loading…
x
Reference in New Issue
Block a user