From 30eea0017458e619747d01255f668c0853695126 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 20 Mar 2017 09:16:34 +0100 Subject: notification.qml more coding style --- components/package/contents/ui/Notification.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'components/package/contents/ui') 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 { show() } + Timer { + id: hideTimer + triggeredOnStart: false + repeat: false + interval: 5000 + onTriggered: popup.hide() + } + anchors { top: parent.top horizontalCenter: parent.horizontalCenter @@ -51,14 +59,6 @@ MouseArea { anchors.fill: parent } - Timer { - id: hideTimer - triggeredOnStart: false - repeat: false - interval: 5000 - onTriggered: popup.hide() - } - Label { id: message -- cgit v1.2.3