summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-28 00:36:06 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit591c4bfccab8ab0c972ea8c574df82579b865374 (patch)
treed7f8297e36b87624f2b5624f239dc4e1e050864e /mobile-widgets
parentf6896c3b8e9c29aaba0715aea92687b2d110d0ec (diff)
downloadsubsurface-591c4bfccab8ab0c972ea8c574df82579b865374.tar.gz
mapwidget.qml: track the coordinatesChanged() signal in QML
The C++ side for the desktop version already does that. Add a slot for that in QML, for later use in the mobile version. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/MapWidget.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index beb1b1b75..0182c9f89 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -22,6 +22,7 @@ Item {
nSelectedDives = list.length
}
onEditModeChanged: editMessage.isVisible = editMode === true ? 1 : 0
+ onCoordinatesChanged: {}
}
Map {