You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
linphone-desktop/SOURCES/0002-hide-open-chats-open-m...

50 lines
1.7 KiB

From aa576e709afb44cf111358131eedd101e38e685e Mon Sep 17 00:00:00 2001
From: Anton Volkov <AV.Volkov@softline.com>
Date: Tue, 25 Jun 2024 17:11:02 +0300
Subject: [PATCH] hide "open chats", "open meetings" and "merge calls
(conference)" buttons
---
linphone-app/ui/views/App/Calls/CallsWindow.qml | 2 +-
linphone-app/ui/views/App/Main/MainWindow.qml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/linphone-app/ui/views/App/Calls/CallsWindow.qml b/linphone-app/ui/views/App/Calls/CallsWindow.qml
index e41c07f..3278146 100644
--- a/linphone-app/ui/views/App/Calls/CallsWindow.qml
+++ b/linphone-app/ui/views/App/Calls/CallsWindow.qml
@@ -142,7 +142,7 @@ Window {
isCustom: true
backgroundRadius: 4
colorSet: CallsWindowStyle.callsList.mergeConference
- visible: SettingsModel.conferenceEnabled
+ visible: false
enabled: CallsListModel.canMergeCalls
onClicked: {
diff --git a/linphone-app/ui/views/App/Main/MainWindow.qml b/linphone-app/ui/views/App/Main/MainWindow.qml
index 6e5662a..405a0a1 100644
--- a/linphone-app/ui/views/App/Main/MainWindow.qml
+++ b/linphone-app/ui/views/App/Main/MainWindow.qml
@@ -387,7 +387,7 @@ ApplicationWindow {
}
}
ActionButton {
- visible: SettingsModel.standardChatEnabled || SettingsModel.secureChatEnabled
+ visible: false
isCustom: true
backgroundRadius: 4
colorSet: MainWindowStyle.buttons.chatMenu
@@ -419,7 +419,7 @@ ApplicationWindow {
}
}
ActionButton {
- visible: SettingsModel.conferenceEnabled
+ visible: false
isCustom: true
backgroundRadius: 4
colorSet: MainWindowStyle.buttons.meetingsMenu
--
2.43.0