diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index 35490a0a3..6f718021f 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -10,7 +10,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) : diveId(0), dcNr(0) { - memset(&pInfo, 0, sizeof(pInfo)); + init_plot_info(&pInfo); memset(&plot_deco_state, 0, sizeof(struct deco_state)); } |