1
0

qml: initial crash handler impl

This commit is contained in:
Sander van Grieken
2023-01-10 17:01:54 +01:00
parent 85718bda89
commit fa030b3fa5
4 changed files with 285 additions and 28 deletions

View File

@@ -241,6 +241,11 @@ ApplicationWindow
id: notificationPopup
}
Component {
id: crashDialog
ExceptionDialog {}
}
Component.onCompleted: {
coverTimer.start()
@@ -331,6 +336,12 @@ ApplicationWindow
function onUserNotify(message) {
notificationPopup.show(message)
}
function onShowException() {
var dialog = crashDialog.createObject(app, {
crashData: AppController.crashData()
})
dialog.open()
}
}
Connections {