From 135e8340190d95d1540d07059cd1848075a4a796 Mon Sep 17 00:00:00 2001 From: Marcos CARDINOT Date: Wed, 25 Mar 2015 02:43:48 -0300 Subject: DivePlannerPointsModel::recalc - initilizes member Non-static class member recalc is not initialized in the constructor Signed-off-by: Marcos CARDINOT Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3-70-g09d2