diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-09-28 13:53:23 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-30 08:16:52 -0700 |
commit | 751286e4e733272b13c406b3854e7f3cd11d0371 (patch) | |
tree | 7ffe9701a4e592170fa256600edf01fdb8fd6efc /mobile-widgets | |
parent | bce952615c68ad2bd752fa45d8093233ed3ba75a (diff) | |
download | subsurface-751286e4e733272b13c406b3854e7f3cd11d0371.tar.gz |
QML UI, cleanup: no reason for 2 overlapping mouseareas
Fully usure why the code was as it was. The trip header had 2
overlapping mouse areas, to expand the trip and vise versa. Simply
remove the smallest one.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 54c746958..4896eadd5 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -314,15 +314,6 @@ Kirigami.ScrollablePage { } color: subsurfaceTheme.lightPrimaryTextColor } - MouseArea { - anchors.fill: sectionText - onClicked: { - if (activeTrip === section) - activeTrip = "" - else - activeTrip = section - } - } } Rectangle { height: Math.max(2, Kirigami.Units.gridUnit / 12) // we want a thicker line |