summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Marcos CARDINOT <mcardinot@gmail.com>2015-03-25 02:43:48 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-25 02:28:02 -0700
commit135e8340190d95d1540d07059cd1848075a4a796 (patch)
treeda4b402ef38fda2731852370929359209082c0cc
parent0bf61844e7f926d39f369a0323d5f5e775368d55 (diff)
downloadsubsurface-135e8340190d95d1540d07059cd1848075a4a796.tar.gz
DivePlannerPointsModel::recalc - initilizes member
Non-static class member recalc is not initialized in the constructor Signed-off-by: Marcos CARDINOT <mcardinot@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/diveplanner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index db007218f..1325b17f2 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -722,6 +722,7 @@ int DivePlannerPointsModel::rowCount(const QModelIndex &parent) const
DivePlannerPointsModel::DivePlannerPointsModel(QObject *parent) : QAbstractTableModel(parent),
mode(NOTHING),
+ recalc(false),
tempGFHigh(100),
tempGFLow(100)
{