Ref T730, do NOT play own PTT, AFV plays PTT

This commit is contained in:
Klaus Basan
2019-09-29 15:39:21 +02:00
committed by Mat Sutcliffe
parent bde7baf84d
commit 0aeeaa5aef

View File

@@ -542,10 +542,14 @@ void SwiftGuiStd::displayNetworkSettings()
void SwiftGuiStd::onPttChanged(bool enabled)
{
Q_UNUSED(enabled)
if (!sGui || !sGui->getIContextAudio()) { return; }
/** wit AFV no longer play
sGui->getIContextAudio()->playNotification(
enabled ? CNotificationSounds::PTTClickKeyDown : CNotificationSounds::PTTClickKeyUp,
true);
**/
}
void SwiftGuiStd::displayDBusReconnectDialog()