PTT click sound as a follow up of Ref T494

This commit is contained in:
Klaus Basan
2018-12-31 14:50:38 +01:00
committed by Mat Sutcliffe
parent 427c23c5e4
commit d28b09141b
2 changed files with 11 additions and 0 deletions

View File

@@ -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; }