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
