From 3a33deeaceb7a55a61813fa91d2abe81b54ed3fe Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 23 Jan 2016 09:49:18 +0100 Subject: QML-UI: Do not show strange double dashes for trips in Divelist This is a multi-part message in MIME format. After fixing the regression (commit 9e9d220c9803) strange double dashes appeared in the Divelist headers for trips. Just suppress it. Signed-off-by: Jan Mulder Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index 60a45429e..21858afb4 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -106,7 +106,7 @@ MobileComponents.Page { MobileComponents.Heading { id: sectionText - text: section + text: {section == "--" ? "" : section } anchors { top: parent.top left: parent.left -- cgit v1.2.3-70-g09d2