summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resources/qml/voip/ActiveCallBar.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/qml/voip/ActiveCallBar.qml b/resources/qml/voip/ActiveCallBar.qml
index eb7fce76..3b5e2464 100644
--- a/resources/qml/voip/ActiveCallBar.qml
+++ b/resources/qml/voip/ActiveCallBar.qml
@@ -134,8 +134,14 @@ Rectangle {
                         callTimer.startTime: Math.floor((new Date()).getTime() / 1000)
                     }
 
+                    // HACK(Nico): Somehow this causes a crash when not using the custom parser for that property change...
+                    //PropertyChanges {
+                    //    stackLayout.currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0
+                    //}
+
                     PropertyChanges {
-                        stackLayout.currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0
+                        target: stackLayout
+                        currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0 // qmllint disable Quick.property-changes-parsed
                     }
 
                 },