summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-14 23:28:45 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitb5d4d88fe596fa91a3f3491fe8acc220a0df7b72 (patch)
treee198af14ac0c2a72609aa66f0c644821c650650e /desktop-widgets/locationinformation.h
parent0b851d723e1b57fd2065c268977e023cfb364066 (diff)
downloadsubsurface-b5d4d88fe596fa91a3f3491fe8acc220a0df7b72.tar.gz
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>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r--desktop-widgets/locationinformation.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index efa770774..550b8ba8e 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -23,12 +23,6 @@ protected:
public slots:
void acceptChanges();
- void rejectChanges();
- void updateGpsCoordinates(const location_t &);
- void markChangedWidget(QWidget *w);
- void enableEdition();
- void resetState();
- void resetPallete();
void on_diveSiteCountry_editingFinished();
void on_diveSiteCoordinates_editingFinished();
void on_diveSiteDescription_editingFinished();
@@ -45,8 +39,6 @@ signals:
private:
void clearLabels();
Ui::LocationInformation ui;
- bool modified;
- QAction *acceptAction, *rejectAction;
GPSLocationInformationModel filter_model;
dive_site *diveSite;
taxonomy_data taxonomy;