aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/diveplotdatamodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp
index a893cb46b..3024543a0 100644
--- a/qt-models/diveplotdatamodel.cpp
+++ b/qt-models/diveplotdatamodel.cpp
@@ -12,6 +12,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) :
dcNr(0)
{
memset(&pInfo, 0, sizeof(pInfo));
+ memset(&plot_deco_state, 0, sizeof(struct deco_state));
}
int DivePlotDataModel::columnCount(const QModelIndex &parent) const