summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplotdatamodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveplotdatamodel.cpp')
-rw-r--r--qt-models/diveplotdatamodel.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp
index 3b3a288b6..f219947ac 100644
--- a/qt-models/diveplotdatamodel.cpp
+++ b/qt-models/diveplotdatamodel.cpp
@@ -4,7 +4,10 @@
#include "graphicsview-common.h"
#include "divelist.h"
-DivePlotDataModel::DivePlotDataModel(QObject *parent) : QAbstractTableModel(parent), diveId(0)
+DivePlotDataModel::DivePlotDataModel(QObject *parent) :
+ QAbstractTableModel(parent),
+ diveId(0),
+ dcNr(0)
{
memset(&pInfo, 0, sizeof(pInfo));
}