destroy notification windows after closing
This commit is contained in:
parent
262941e839
commit
18fdd3f60b
|
@ -47,6 +47,8 @@ Item {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
timer.stop()
|
timer.stop()
|
||||||
notificationWindowSub.close()
|
notificationWindowSub.close()
|
||||||
|
notificationWindowSub.destroy()
|
||||||
|
mainWin.destroy()
|
||||||
applicationWindow.raise()
|
applicationWindow.raise()
|
||||||
chatsModel.setActiveChannel(chatId);
|
chatsModel.setActiveChannel(chatId);
|
||||||
}
|
}
|
||||||
|
@ -59,7 +61,10 @@ Item {
|
||||||
interval: 4000;
|
interval: 4000;
|
||||||
running: false;
|
running: false;
|
||||||
repeat: false
|
repeat: false
|
||||||
onTriggered: notificationWindowSub.close()
|
onTriggered: {
|
||||||
|
notificationWindowSub.close()
|
||||||
|
notificationWindowSub.destroy()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if(visible) {
|
if(visible) {
|
||||||
|
|
Loading…
Reference in New Issue