mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
PTT click sound as a follow up of Ref T494
This commit is contained in:
committed by
Mat Sutcliffe
parent
427c23c5e4
commit
d28b09141b
@@ -461,6 +461,12 @@ void SwiftGuiStd::displayLog()
|
||||
ui->comp_MainInfoArea->displayLog();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onPttChanged(bool enabled)
|
||||
{
|
||||
if (!enabled) { return; }
|
||||
sGui->getIContextAudio()->playNotification(CNotificationSounds::PTTClick, true);
|
||||
}
|
||||
|
||||
void SwiftGuiStd::displayDBusReconnectDialog()
|
||||
{
|
||||
if (m_displayingDBusReconnect) { return; }
|
||||
|
||||
Reference in New Issue
Block a user