From 6b10c45b2f26c302449967d91fab9f4d1e280d38 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 26 Dec 2015 13:30:08 -0800 Subject: QML UI: mark locations with GPS data In the dive detail view, if a location has an associated GPS location, show the name of the location underlined so the user knows that tapping on it will open a browser window with a map picture. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetailsView.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml index f2eb66407..e81aabb4f 100644 --- a/qt-mobile/qml/DiveDetailsView.qml +++ b/qt-mobile/qml/DiveDetailsView.qml @@ -30,6 +30,7 @@ GridLayout { id: detailsViewHeading Layout.fillWidth: true text: location + font.underline: gps !== "" Layout.columnSpan: 4 wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere MouseArea { -- cgit v1.2.3-70-g09d2