diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 10 | ||||
-rw-r--r-- | qt-models/diveplotdatamodel.h | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index c964d4ba2..538771331 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -218,13 +218,3 @@ void DivePlotDataModel::emitDataChanged() { emit dataChanged(QModelIndex(), QModelIndex()); } - -#ifndef SUBSURFACE_MOBILE -void DivePlotDataModel::calculateDecompression() -{ - struct divecomputer *dc = select_dc(&displayed_dive); - init_decompression(&plot_deco_state, &displayed_dive); - calculate_deco_information(&plot_deco_state, &(DivePlannerPointsModel::instance()->final_deco_state), &displayed_dive, dc, &pInfo, false); - dataChanged(index(0, CEILING), index(pInfo.nr - 1, TISSUE_16)); -} -#endif diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h index cb0d0e3c0..d034a62b3 100644 --- a/qt-models/diveplotdatamodel.h +++ b/qt-models/diveplotdatamodel.h @@ -86,9 +86,6 @@ public: double pn2Max(); double po2Max(); void emitDataChanged(); -#ifndef SUBSURFACE_MOBILE - void calculateDecompression(); -#endif private: struct plot_info pInfo; |