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 <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-03-14 23:28:45 +01:00 committed by Dirk Hohndel
parent 0b851d723e
commit b5d4d88fe5
10 changed files with 30 additions and 113 deletions

View file

@ -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<int>);
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);