summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-14 22:48:03 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit0b851d723e1b57fd2065c268977e023cfb364066 (patch)
tree332265f1cb2fcc9adeab29936ad50ebb9cecaaa5 /desktop-widgets/mapwidget.h
parentfa4fedbb488eacff72d5d8691b4da8b34634a71e (diff)
downloadsubsurface-0b851d723e1b57fd2065c268977e023cfb364066.tar.gz
Undo: update map when dive site location is changed by undo command
Simply hook into the appropriate signal. Thus, the "update dive site location" button can be removed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mapwidget.h')
-rw-r--r--desktop-widgets/mapwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h
index 4eb0d3ca9..bbdae80aa 100644
--- a/desktop-widgets/mapwidget.h
+++ b/desktop-widgets/mapwidget.h
@@ -37,7 +37,7 @@ public slots:
void selectedDivesChanged(QList<int>);
void coordinatesChangedLocal(const location_t &);
void doneLoading(QQuickWidget::Status status);
- void updateDiveSiteCoordinates(struct dive_site *ds, const location_t &);
+ void diveSiteChanged(struct dive_site *ds, int field);
private:
static MapWidget *m_instance;