From 751286e4e733272b13c406b3854e7f3cd11d0371 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 28 Sep 2018 13:53:23 +0200 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mobile-widgets') 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 -- cgit v1.2.3-70-g09d2