aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/diveplotdatamodel.cpp4
-rw-r--r--qt-models/diveplotdatamodel.h1
2 files changed, 0 insertions, 5 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:
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
};