qml: properly destroy ExceptionDialog after close, improve encapsulation
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user