mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove getDiveId() functions
These functions in DiveListSortModel and DiveListModel had no users. Remove them. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
09a7736ae1
commit
2dd0187fe8
2 changed files with 0 additions and 15 deletions
|
@ -19,7 +19,6 @@ public:
|
|||
Q_INVOKABLE QString tripTitle(const QVariant &trip);
|
||||
Q_INVOKABLE QString tripShortDate(const QVariant &trip);
|
||||
public slots:
|
||||
int getDiveId(int idx);
|
||||
int getIdxForId(int id);
|
||||
void setFilter(QString f);
|
||||
void resetFilter();
|
||||
|
@ -53,7 +52,6 @@ public:
|
|||
void updateDive(int i, dive *d);
|
||||
void clear();
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
int getDiveId(int idx) const;
|
||||
int getDiveIdx(int id) const;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||
QHash<int, QByteArray> roleNames() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue