From 0aeeaa5aef6d9c0f97b57b284b0eefc9ba18ac9d Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 29 Sep 2019 15:39:21 +0200 Subject: [PATCH] Ref T730, do NOT play own PTT, AFV plays PTT --- src/swiftguistandard/swiftguistd.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/swiftguistandard/swiftguistd.cpp b/src/swiftguistandard/swiftguistd.cpp index 708a987cb..44b306c1f 100644 --- a/src/swiftguistandard/swiftguistd.cpp +++ b/src/swiftguistandard/swiftguistd.cpp @@ -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()