fix: timers are getting deleted and not just multiply
This commit is contained in:
@@ -45,6 +45,7 @@ Rectangle {
|
|||||||
Connections {
|
Connections {
|
||||||
target: root.notification
|
target: root.notification
|
||||||
onClosed: function(reason){
|
onClosed: function(reason){
|
||||||
|
// It is known that it can be triggered twice and delete multiple Index but since it is only temporary display and the chance is low it is ignored
|
||||||
root.closeNotification(false)
|
root.closeNotification(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ Item {
|
|||||||
notificationSound.play()
|
notificationSound.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
// destroy()
|
destroy()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user