summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-15 14:32:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit7c63956ee4798a835794eee8189b73e3df07594d (patch)
tree720106a3a5927e140733be5571fb8ff1fc4ca4ae /desktop-widgets/locationinformation.h
parentb5d4d88fe596fa91a3f3491fe8acc220a0df7b72 (diff)
downloadsubsurface-7c63956ee4798a835794eee8189b73e3df07594d.tar.gz
Undo: implement undo of geo lookup
Simply copy code of the other edit dive site functions. Here though introduce a destructor in the undo command to free the taxonomy data. Remove the taxonomy member of the LocationInformationWidget class, because it is not needed anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r--desktop-widgets/locationinformation.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 550b8ba8e..8188893bf 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -4,7 +4,6 @@
#include "core/units.h"
#include "core/divesite.h"
-#include "core/taxonomy.h"
#include "ui_locationinformation.h"
#include "qt-models/divelocationmodel.h"
#include <stdint.h>
@@ -41,7 +40,6 @@ private:
Ui::LocationInformation ui;
GPSLocationInformationModel filter_model;
dive_site *diveSite;
- taxonomy_data taxonomy;
};
class DiveLocationFilterProxyModel : public QSortFilterProxyModel {