From e03d3ac5d67dba0ac8343730f4f903a4c1fb7583 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 22 Oct 2019 16:45:37 -0400 Subject: Mobile: don't show nothing for the location We use 'Dive details' as page title, everywhere else we use ''. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/DiveList.qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 07fd7ba4e..d4173d5f7 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -155,7 +155,7 @@ Kirigami.ScrollablePage { anchors.left: leftBarDive.right Controls.Label { id: locationText - text: (undefined !== location) ? location : "" + text: (undefined !== location && "" != location) ? location : qsTr("") font.weight: Font.Bold font.pointSize: subsurfaceTheme.regularPointSize elide: Text.ElideRight -- cgit v1.2.3-70-g09d2