summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-30 23:18:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-04 10:41:09 +0900
commit09163c1ee7dc469d44cdf4631b51579e607be6f2 (patch)
treebd13f538ff59eb47ca96d89c9caac4d2f4d55b60 /desktop-widgets/locationinformation.h
parent02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7 (diff)
downloadsubsurface-09163c1ee7dc469d44cdf4631b51579e607be6f2.tar.gz
Cleanup: remove DiveLocationLineEdit::currType
Apparently this field was never used...? Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r--desktop-widgets/locationinformation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 31a8194d8..b6122d2fe 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -83,13 +83,11 @@ signals:
class DiveLocationLineEdit : public QLineEdit {
Q_OBJECT
public:
- enum DiveSiteType { NO_DIVE_SITE, NEW_DIVE_SITE, EXISTING_DIVE_SITE };
DiveLocationLineEdit(QWidget *parent =0 );
void refreshDiveSiteCache();
void setTemporaryDiveSiteName(const QString& s);
bool eventFilter(QObject*, QEvent*);
void itemActivated(const QModelIndex& index);
- DiveSiteType currDiveSiteType() const;
struct dive_site *currDiveSite() const;
void fixPopupPosition();
void setCurrentDiveSite(struct dive *d);
@@ -111,7 +109,6 @@ private:
DiveLocationModel *model;
DiveLocationListView *view;
LocationFilterDelegate delegate;
- DiveSiteType currType;
struct dive_site *currDs;
};