diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 13:30:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 13:33:11 -0800 |
commit | 6b10c45b2f26c302449967d91fab9f4d1e280d38 (patch) | |
tree | 446adf525aa92d90a9fcf7d173fffa80010596b3 | |
parent | bf239e7c428c1407147b4e380655c08560e5a56d (diff) | |
download | subsurface-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.qml | 1 |
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 { |