From b5d4d88fe596fa91a3f3491fe8acc220a0df7b72 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 14 Mar 2019 23:28:45 +0100 Subject: Dive site: remove edit mode from dive location widget Since no dive site field editing enters edit mode anymore, the whole edit mode state and code can be removed from the widget. Signed-off-by: Berthold Stoeger --- desktop-widgets/mapwidget.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'desktop-widgets/mapwidget.h') diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h index bbdae80aa..9d31aa75a 100644 --- a/desktop-widgets/mapwidget.h +++ b/desktop-widgets/mapwidget.h @@ -24,9 +24,6 @@ public: static MapWidget *instance(); void reload(); -signals: - void coordinatesChanged(const location_t &); - public slots: void centerOnSelectedDiveSite(); void centerOnDiveSite(struct dive_site *); @@ -35,7 +32,7 @@ public slots: void repopulateLabels(); void prepareForGetDiveCoordinates(struct dive_site *ds); void selectedDivesChanged(QList); - void coordinatesChangedLocal(const location_t &); + void coordinatesChanged(struct dive_site *ds, const location_t &); void doneLoading(QQuickWidget::Status status); void diveSiteChanged(struct dive_site *ds, int field); -- cgit v1.2.3-70-g09d2