Address uninitialized member warnings

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-22 06:42:02 -07:00
parent 85dfb88f51
commit 1ecc9b0cc0
19 changed files with 50 additions and 18 deletions

View file

@ -350,7 +350,9 @@ int DiveItem::weight() const
return tw.grams;
}
DiveTripModel::DiveTripModel(QObject *parent) : TreeModel(parent)
DiveTripModel::DiveTripModel(QObject *parent) :
TreeModel(parent),
currentLayout(TREE)
{
columns = COLUMNS;
}