diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-14 22:48:03 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 0b851d723e1b57fd2065c268977e023cfb364066 (patch) | |
tree | 332265f1cb2fcc9adeab29936ad50ebb9cecaaa5 /desktop-widgets/mapwidget.h | |
parent | fa4fedbb488eacff72d5d8691b4da8b34634a71e (diff) | |
download | subsurface-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.h | 2 |
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; |