mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
0b851d723e
commit
b5d4d88fe5
10 changed files with 30 additions and 113 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue