Skip to content

Commit c0d14cc

Browse files
committed
fix(plugins): Update sound tray icon when audio card info changes
Log: Update sound tray icon when audio card info changes Pms: BUG-349027 Signed-off-by: ComixHe <heyuming@deepin.org>
1 parent 8771501 commit c0d14cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/dde-dock/sound/soundview.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ SoundView::SoundView(QWidget *parent)
4242

4343
connect(&SoundModel::ref(), &SoundModel::volumeChanged, this, &SoundView::refresh, Qt::QueuedConnection);
4444
connect(&SoundModel::ref(), &SoundModel::muteStateChanged, this, &SoundView::refresh, Qt::QueuedConnection);
45+
connect(&SoundModel::ref(), &SoundModel::cardsInfoChanged, this, &SoundView::refresh);
4546
connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged, this, [ = ] {
4647
refreshIcon();
4748
});

0 commit comments

Comments
 (0)