aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-26 13:30:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-26 13:33:11 -0800
commit6b10c45b2f26c302449967d91fab9f4d1e280d38 (patch)
tree446adf525aa92d90a9fcf7d173fffa80010596b3
parentbf239e7c428c1407147b4e380655c08560e5a56d (diff)
downloadsubsurface-6b10c45b2f26c302449967d91fab9f4d1e280d38.tar.gz
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 <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/DiveDetailsView.qml1
1 files changed, 1 insertions, 0 deletions
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 {