From 684e3eec6bf816cd3faddeb900a03824184082a4 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Tue, 2 Oct 2018 18:51:35 +0200 Subject: QML UI, cleanup: remove usesless Item Trivial cleanup. A QML Item is intendend for visual items, so embedding a timer in it is plain useless. Signed-off-by: Jan Mulder --- mobile-widgets/qml/DiveList.qml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 65dce34bd..d676549b4 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -226,13 +226,11 @@ Kirigami.ScrollablePage { } } } - Item { - Timer { - id: timer - interval: 4000 - onTriggered: { - deleteButtonVisible = false - } + Timer { + id: timer + interval: 4000 + onTriggered: { + deleteButtonVisible = false } } } -- cgit v1.2.3-70-g09d2