diff options
Diffstat (limited to 'qt-models/filtermodels.h')
-rw-r--r-- | qt-models/filtermodels.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h index bcbbf000a..8bac44680 100644 --- a/qt-models/filtermodels.h +++ b/qt-models/filtermodels.h @@ -11,12 +11,16 @@ struct dive; class FilterModelBase : public QStringListModel { Q_OBJECT +protected: + struct Item { + bool checked; + }; + std::vector<Item> items; public: virtual bool doFilter(const dive *d) const = 0; void clearFilter(); void selectAll(); void invertSelection(); - std::vector<char> checkState; bool anyChecked; bool negate; public |