diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-20 09:16:34 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-20 09:16:34 +0100 |
commit | 30eea0017458e619747d01255f668c0853695126 (patch) | |
tree | 5fb67b62fb7a016097739e540667634bb2be46e9 /components/package/contents/ui | |
parent | ee991234d5884863e91fa1463f29f43536d0dddc (diff) | |
download | kube-30eea0017458e619747d01255f668c0853695126.tar.gz kube-30eea0017458e619747d01255f668c0853695126.zip |
notification.qml more coding style
Diffstat (limited to 'components/package/contents/ui')
-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 | ||