diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-07-25 12:56:48 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-25 13:52:53 -0700 |
commit | f4c31f110fc98eb6d5d18c806e6b0f2ccc762d54 (patch) | |
tree | 439565a35ee5258a7ba9af195ad05309f78e64c5 /qt-ui/locationinformation.h | |
parent | 68053a11508d67604360481eb4ab5bbba8c64860 (diff) | |
download | subsurface-f4c31f110fc98eb6d5d18c806e6b0f2ccc762d54.tar.gz |
Clean code from the dive site edit
This is an edit dialog, not a create dialog.
This makes Subsurface crash but it's a step in the right direction.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index b55a1b42c..1c4bdde36 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -8,7 +8,6 @@ class LocationInformationWidget : public QGroupBox { Q_OBJECT public: - enum mode{CREATE_DIVE_SITE, EDIT_DIVE_SITE}; LocationInformationWidget(QWidget *parent = 0); protected: void showEvent(QShowEvent *); @@ -17,8 +16,6 @@ public slots: void acceptChanges(); void rejectChanges(); void updateGpsCoordinates(); - void editDiveSite(uint32_t uuid); - void createDiveSite(); void markChangedWidget(QWidget *w); void enableEdition(); void resetState(); @@ -37,11 +34,9 @@ signals: void startFilterDiveSite(uint32_t uuid); void stopFilterDiveSite(); private: - struct dive_site *currentDs; Ui::LocationInformation ui; bool modified; QAction *closeAction, *acceptAction, *rejectAction; - mode current_mode; }; class LocationManagementEditHelper : public QObject { |