mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Fix sound plugin crash when change output sink
Change-Id: I4c78f56dc45db2890b8a1d47e9b65426570aa398
This commit is contained in:
parent
b64c3b7f25
commit
af7787154e
Notes:
Deepin Code Review
2017-02-24 16:31:25 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Fri, 24 Feb 2017 16:31:25 +0800 Reviewed-on: https://cr.deepin.io/20724 Project: dde/dde-dock Branch: refs/heads/master
@ -29,7 +29,7 @@ SoundItem::SoundItem(QWidget *parent)
|
||||
m_applet->setVisible(false);
|
||||
|
||||
connect(m_applet, static_cast<void (SoundApplet::*)(DBusSink*) const>(&SoundApplet::defaultSinkChanged), this, &SoundItem::sinkChanged);
|
||||
connect(m_applet, &SoundApplet::volumeChanged, this, &SoundItem::refershTips);
|
||||
connect(m_applet, &SoundApplet::volumeChanged, this, &SoundItem::refershTips, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
QWidget *SoundItem::tipsWidget()
|
||||
|
Loading…
x
Reference in New Issue
Block a user