1
0

qml: properly destroy ExceptionDialog after close, improve encapsulation

This commit is contained in:
Sander van Grieken
2025-03-28 14:51:12 +01:00
parent 1d07895e8c
commit 1559129016
3 changed files with 16 additions and 17 deletions

View File

@@ -423,6 +423,13 @@ ApplicationWindow
}
}
Component {
id: crashDialog
ExceptionDialog {
onClosed: destroy()
}
}
property alias channelOpenProgressDialog: _channelOpenProgressDialog
ChannelOpenProgressDialog {
id: _channelOpenProgressDialog
@@ -486,13 +493,6 @@ ApplicationWindow
width: parent.width
}
Component {
id: crashDialog
ExceptionDialog {
z: 1000
}
}
Component.onCompleted: {
coverTimer.start()