Fix crash during calls

pull/1614/head
Nicolas Werner 1 year ago
parent 89df4aa150
commit 63a2d4b4bb
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 8
      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
}
},

Loading…
Cancel
Save