summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index f09003b5f..b051605ae 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -5,6 +5,7 @@
#include <QAbstractListModel>
#include <QSortFilterProxyModel>
+#include "core/divefilter.h"
#include "core/subsurface-qt/diveobjecthelper.h"
class CollapsedDiveListSortModel : public QSortFilterProxyModel
@@ -48,7 +49,7 @@ public:
void updateFilterState();
public slots:
int getIdxForId(int id);
- void setFilter(QString f);
+ void setFilter(QString f, FilterData::Mode mode);
void resetFilter();
int shown();
protected: