aboutsummaryrefslogtreecommitdiffstats
path: root/map-widget
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jan@jlmulder.nl>2020-04-27 14:07:03 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-04-27 14:48:37 +0200
commit906762027b8ca2b1cd0c33d28fea2e6e54743085 (patch)
tree208a6089cc0fbc97964437627c90704b99b69b17 /map-widget
parentda953fa18a954379cc52fec85b2f30fa368aa940 (diff)
downloadsubsurface-906762027b8ca2b1cd0c33d28fea2e6e54743085.tar.gz
Revert "map: remove selectedDivesChanged"
This reverts commit cd474996948b7592ab2973b7f936320a663a914e. The signal removed in the reverted commit was used in Subsurface-mobile. So removing it, caused a not running app. Signed-off-by: Jan Mulder <jan@jlmulder.nl>
Diffstat (limited to 'map-widget')
-rw-r--r--map-widget/qml/MapWidget.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/map-widget/qml/MapWidget.qml b/map-widget/qml/MapWidget.qml
index 69ddd8044..f028bd1c3 100644
--- a/map-widget/qml/MapWidget.qml
+++ b/map-widget/qml/MapWidget.qml
@@ -9,10 +9,13 @@ Item {
property alias mapHelper: mapHelper
property alias map: map
+ signal selectedDivesChanged(var list)
+
MapWidgetHelper {
id: mapHelper
map: map
editMode: false
+ onSelectedDivesChanged: rootItem.selectedDivesChanged(list)
onEditModeChanged: editMessage.isVisible = editMode === true ? 1 : 0
onCoordinatesChanged: {}
Component.onCompleted: {