feat: add notification close event handling in NotificationBody
This commit is contained in:
1 parent
b2d5c0d5fb
commit
8c6662871a
1 file changed
+7
@@ -42,6 +42,13 @@ Rectangle {
|
|||||||
root.dismissed(root.notification, dismiss)
|
root.dismissed(root.notification, dismiss)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: root.notification
|
||||||
|
onClosed: function(reason){
|
||||||
|
root.closeNotification(false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
Reference in new issue
Block a user