summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
index b60e4177..c0e9458e 100644
--- a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
@@ -68,11 +68,16 @@ Singleton {
68 68
69 required property QtObject parent 69 required property QtObject parent
70 required property int expirationTime 70 required property int expirationTime
71 property bool expired: false
72
71 property list<QtObject> data: [ 73 property list<QtObject> data: [
72 Timer { 74 Timer {
73 running: root.active && timer.parent.tracked 75 running: root.active && !timer.expired
74 interval: timer.expirationTime 76 interval: timer.expirationTime
75 onTriggered: timer.parent.expire() 77 onTriggered: {
78 timer.expired = true;
79 timer.parent.expire();
80 }
76 } 81 }
77 ] 82 ]
78 } 83 }