aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2016-01-23 09:49:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-24 21:32:17 -0800
commit3a33deeaceb7a55a61813fa91d2abe81b54ed3fe (patch)
tree5faf9c0f682a7d0febe6af2dd1c269359ded42f6 /qt-mobile/qml
parent8c709106e559c0c286c8266f7f6c5bf84d0f6600 (diff)
downloadsubsurface-3a33deeaceb7a55a61813fa91d2abe81b54ed3fe.tar.gz
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 <jlmulder@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
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