mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
02e94de062
commit
09163c1ee7
2 changed files with 4 additions and 22 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue