diff options
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r-- | qt-models/divelocationmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index f2bcc7cf7..34ac34c04 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -42,6 +42,8 @@ class DiveSiteSortedModel : public QSortFilterProxyModel { private: bool filterAcceptsRow(int sourceRow, const QModelIndex &source_parent) const override; bool lessThan(const QModelIndex &i1, const QModelIndex &i2) const override; +public slots: + void remove(const QModelIndex &index); public: DiveSiteSortedModel(); QStringList allSiteNames() const; |