From 8b0db14f64c4f1f3e3438b35fcfcd94994459283 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 8 May 2021 09:46:09 +0200 Subject: profile: remove DiveGFLineItem 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 38b99c45c..a7eabdf94 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -71,8 +71,6 @@ QVariant DivePlotDataModel::data(const QModelIndex &index, int role) const return item.heartbeat; case AMBPRESSURE: return AMB_PERCENTAGE; - case GFLINE: - return item.gfline; case INSTANT_MEANDEPTH: return item.running_sum; } @@ -152,8 +150,6 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation, return tr("Ambient pressure"); case HEARTBEAT: return tr("Heart rate"); - case GFLINE: - return tr("Gradient factor"); case INSTANT_MEANDEPTH: return tr("Mean depth @ s"); } diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h index a1031988f..1661e40d6 100644 --- a/qt-models/diveplotdatamodel.h +++ b/qt-models/diveplotdatamodel.h @@ -68,7 +68,6 @@ public: SCR_OC_PO2, HEARTBEAT, AMBPRESSURE, - GFLINE, INSTANT_MEANDEPTH, COLUMNS }; -- cgit v1.2.3-70-g09d2