From db6126bc5229478f093b951ae1ac590da818b0af Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 17 Sep 2014 17:52:29 -0300 Subject: [PATCH] Show everything by default. We should show all dives by default. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }