aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-10-02 18:51:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-07 17:43:34 +0300
commit684e3eec6bf816cd3faddeb900a03824184082a4 (patch)
tree1e7446c580435625f7316b762b9e571c6bb5e0dc /mobile-widgets
parentf0409123958fb41daefb5e0b22d2243598fa0c5f (diff)
downloadsubsurface-684e3eec6bf816cd3faddeb900a03824184082a4.tar.gz
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 <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml12
1 files 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
}
}
}