trayicon: refresh content upon successful change
This commit is contained in:
parent
4b97762631
commit
92959c2adc
@ -34,6 +34,8 @@ TrayIcon::TrayIcon(QObject *parent) :
|
||||
}
|
||||
});
|
||||
|
||||
connect(&this->pulse, &QPulse::SetCardProfileOperationCompleted, this, &TrayIcon::refreshData); // ignore argument
|
||||
|
||||
// Need to use BlockingQueuedConnection to pull items off pulseaudio thread before it reallocates them
|
||||
connect(&this->pulse, &QPulse::GotCardInfoList, this, &TrayIcon::onGotPulseCardInfo, Qt::BlockingQueuedConnection);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user