1
0

bugfixes, lifecycle improvements

This commit is contained in:
Sander van Grieken
2022-05-06 20:27:07 +02:00
parent a584c06eb2
commit e78a239bf5
10 changed files with 44 additions and 33 deletions

View File

@@ -174,13 +174,13 @@ ApplicationWindow
property alias messageDialog: _messageDialog
Component {
id: _messageDialog
MessageDialog {}
MessageDialog {
onClosed: destroy()
}
}
property alias notificationPopup: _notificationPopup
Component {
id: _notificationPopup
NotificationPopup {}
NotificationPopup {
id: notificationPopup
}
Component.onCompleted: {
@@ -226,7 +226,7 @@ ApplicationWindow
Connections {
target: AppController
function onUserNotify(message) {
var item = app.notificationPopup.createObject(app, {'text': message})
notificationPopup.show(message)
}
}
}