summaryrefslogtreecommitdiff
path: root/net/linphone/files/patch-05-4f908ef
blob: 0a03271d9323c8ad321c3afe846b577dcc97fef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 4f908efd12647d9e603c9c6247170e127129c71a Mon Sep 17 00:00:00 2001
From: Ronan Abhamon <ronan.abhamon@belledonne-communications.com>
Date: Wed, 20 Jun 2018 14:32:53 +0200
Subject: [PATCH] fix(Calls): avoid a crash with a bad binding (Qt 5.11) on
 ConferenceControls

---
 ui/modules/Linphone/Calls/Calls.qml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ui/modules/Linphone/Calls/Calls.qml b/ui/modules/Linphone/Calls/Calls.qml
index 89309129..b6f95bae 100644
--- ui/modules/Linphone/Calls/Calls.qml
+++ ui/modules/Linphone/Calls/Calls.qml
@@ -93,9 +93,7 @@ ListView {
   // ---------------------------------------------------------------------------
 
   header: ConferenceControls {
-    readonly property bool isSelected: calls.currentIndex === -1 &&
-      calls._selectedCall == null &&
-      visible
+    readonly property bool isSelected: calls.currentIndex === -1 && calls._selectedCall == null
 
     height: visible ? ConferenceControlsStyle.height : 0
     width: parent.width