diff options
author | Marcos CARDINOT <mcardinot@gmail.com> | 2015-03-25 02:48:20 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-25 02:28:22 -0700 |
commit | 605d2f7386e253030e7c37eda1a7c45108b773ce (patch) | |
tree | b810e34718fe92f7dac22d0a86fb4e5775e5f270 /qt-ui | |
parent | 135e8340190d95d1540d07059cd1848075a4a796 (diff) | |
download | subsurface-605d2f7386e253030e7c37eda1a7c45108b773ce.tar.gz |
MultiFilterInterface - initilize member + remove extra ;
initialize member 'anyChecked' in the constructor
Signed-off-by: Marcos CARDINOT <mcardinot@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/filtermodels.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/filtermodels.h b/qt-ui/filtermodels.h index 1406b8272..9d8724173 100644 --- a/qt-ui/filtermodels.h +++ b/qt-ui/filtermodels.h @@ -6,7 +6,7 @@ class MultiFilterInterface { public: - MultiFilterInterface() : checkState(NULL){}; + MultiFilterInterface() : checkState(NULL), anyChecked(false) {} virtual bool doFilter(struct dive *d, QModelIndex &index0, QAbstractItemModel *sourceModel) const = 0; virtual void clearFilter() = 0; bool *checkState; |