aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/diveplotdatamodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-05-08 09:50:00 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2021-05-08 13:40:24 +0200
commita7002f4089e76efc0667d22fc10f44ada35ec1bd (patch)
tree2bc1254e09bb69619951dda3356c21c8cc90ce92 /qt-models/diveplotdatamodel.cpp
parent8b0db14f64c4f1f3e3438b35fcfcd94994459283 (diff)
downloadsubsurface-a7002f4089e76efc0667d22fc10f44ada35ec1bd.tar.gz
profile: remove DiveAmbPressureItem
This was replaced by the tissue map in 893bea700c98. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/diveplotdatamodel.cpp')
-rw-r--r--qt-models/diveplotdatamodel.cpp4
1 files changed, 0 insertions, 4 deletions
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: