diff options
Diffstat (limited to 'components/package/contents')
-rw-r--r-- | components/package/contents/ui/Notification.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml index 81275b02..21a6490c 100644 --- a/components/package/contents/ui/Notification.qml +++ b/components/package/contents/ui/Notification.qml | |||
@@ -27,6 +27,14 @@ MouseArea { | |||
27 | show() | 27 | show() |
28 | } | 28 | } |
29 | 29 | ||
30 | Timer { | ||
31 | id: hideTimer | ||
32 | triggeredOnStart: false | ||
33 | repeat: false | ||
34 | interval: 5000 | ||
35 | onTriggered: popup.hide() | ||
36 | } | ||
37 | |||
30 | anchors { | 38 | anchors { |
31 | top: parent.top | 39 | top: parent.top |
32 | horizontalCenter: parent.horizontalCenter | 40 | horizontalCenter: parent.horizontalCenter |
@@ -51,14 +59,6 @@ MouseArea { | |||
51 | anchors.fill: parent | 59 | anchors.fill: parent |
52 | } | 60 | } |
53 | 61 | ||
54 | Timer { | ||
55 | id: hideTimer | ||
56 | triggeredOnStart: false | ||
57 | repeat: false | ||
58 | interval: 5000 | ||
59 | onTriggered: popup.hide() | ||
60 | } | ||
61 | |||
62 | Label { | 62 | Label { |
63 | id: message | 63 | id: message |
64 | 64 | ||