Fix crash during calls

This commit is contained in:
Nicolas Werner 2023-11-05 23:18:43 +01:00
parent 89df4aa150
commit 63a2d4b4bb
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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
}
},