summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-11-05 23:18:43 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-11-05 23:18:43 +0100
commit63a2d4b4bbd7f93c0f4b85f421650d301931cae9 (patch)
treea8ce9d1e200b4be98b8aa308b84b3428d0f17277
parentFix active user check (diff)
downloadnheko-63a2d4b4bbd7f93c0f4b85f421650d301931cae9.tar.xz
Fix crash during calls
Diffstat (limited to '')
-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
                     }
 
                 },