From 7b19b791569095b6cbe0565d8bbdc4018f4efaa5 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Thu, 26 Sep 2024 10:53:21 +0200 Subject: [PATCH] Hide call recording options if disableCallRecordings is set --- Linphone/view/Page/Layout/Settings/CallSettingsLayout.qml | 1 + Linphone/view/Page/Window/Call/CallsWindow.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Linphone/view/Page/Layout/Settings/CallSettingsLayout.qml b/Linphone/view/Page/Layout/Settings/CallSettingsLayout.qml index d22c5f0bb..b9df7737d 100644 --- a/Linphone/view/Page/Layout/Settings/CallSettingsLayout.qml +++ b/Linphone/view/Page/Layout/Settings/CallSettingsLayout.qml @@ -35,6 +35,7 @@ AbstractSettingsLayout { subTitleText: qsTr("Enregistrer tous les appels par défaut") propertyName: "automaticallyRecordCallsEnabled" propertyOwner: SettingsCpp + visible: !SettingsCpp.disableCallRecordings } } } diff --git a/Linphone/view/Page/Window/Call/CallsWindow.qml b/Linphone/view/Page/Window/Call/CallsWindow.qml index 35e7ec530..4dd9e44b0 100644 --- a/Linphone/view/Page/Window/Call/CallsWindow.qml +++ b/Linphone/view/Page/Window/Call/CallsWindow.qml @@ -1623,7 +1623,7 @@ AbstractWindow { } MenuButton { checkable: true - visible: mainWindow.call && !mainWindow.conference + visible: mainWindow.call && !mainWindow.conference && !SettingsCpp.disableCallRecordings enabled: mainWindow.call && mainWindow.call.core.recordable icon.source: AppIcons.recordFill icon.width: 32 * DefaultStyle.dp