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>
This commit is contained in:
Jan Mulder 2018-09-28 13:53:23 +02:00 committed by Dirk Hohndel
parent bce952615c
commit 751286e4e7

View file

@ -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