From a7002f4089e76efc0667d22fc10f44ada35ec1bd Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 8 May 2021 09:50:00 +0200 Subject: profile: remove DiveAmbPressureItem This was replaced by the tissue map in 893bea700c98. Signed-off-by: Berthold Stoeger --- qt-models/diveplotdatamodel.cpp | 4 ---- qt-models/diveplotdatamodel.h | 1 - 2 files changed, 5 deletions(-) (limited to 'qt-models') diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index a7eabdf94..ea92a490d 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -69,8 +69,6 @@ QVariant DivePlotDataModel::data(const QModelIndex &index, int role) const return item.scr_OC_pO2.mbar / 1000.0; case HEARTBEAT: return item.heartbeat; - case AMBPRESSURE: - return AMB_PERCENTAGE; case INSTANT_MEANDEPTH: return item.running_sum; } @@ -146,8 +144,6 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation, return tr("Sensor 2"); case CCRSENSOR3: return tr("Sensor 3"); - case AMBPRESSURE: - return tr("Ambient pressure"); case HEARTBEAT: return tr("Heart rate"); case INSTANT_MEANDEPTH: diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h index 1661e40d6..f2222c84c 100644 --- a/qt-models/diveplotdatamodel.h +++ b/qt-models/diveplotdatamodel.h @@ -67,7 +67,6 @@ public: CCRSENSOR3, SCR_OC_PO2, HEARTBEAT, - AMBPRESSURE, INSTANT_MEANDEPTH, COLUMNS }; -- cgit v1.2.3-70-g09d2