summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-09-17 17:52:29 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:32:15 -0700
commitdb6126bc5229478f093b951ae1ac590da818b0af (patch)
tree7d2df6b058946b0546c28d9096b282ed0c2b4144 /qt-ui
parent06ebd0ea5e83d3f4b923a150858d2f05372e013a (diff)
downloadsubsurface-db6126bc5229478f093b951ae1ac590da818b0af.tar.gz
Show everything by default.
We should show all dives by default. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 8b52e6562..3f6bdaa54 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -2140,7 +2140,7 @@ void TagFilterModel::repopulate()
setStringList(list);
delete[] checkState;
checkState = new bool[list.count()];
- memset(checkState, false, list.count());
+ memset(checkState, true, list.count());
checkState[list.count()-1] = true;
}