Cleanup: remove DiveLocationLineEdit::currType

Apparently this field was never used...?

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-06-30 23:18:12 +02:00 committed by Dirk Hohndel
parent 02e94de062
commit 09163c1ee7
2 changed files with 4 additions and 22 deletions

View file

@ -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;
};