From 09163c1ee7dc469d44cdf4631b51579e607be6f2 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 30 Jun 2019 23:18:12 +0200 Subject: Cleanup: remove DiveLocationLineEdit::currType Apparently this field was never used...? Signed-off-by: Berthold Stoeger --- desktop-widgets/locationinformation.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'desktop-widgets/locationinformation.h') 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; }; -- cgit v1.2.3-70-g09d2