summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveplotdatamodel.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-30 20:17:23 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-30 16:12:04 -0800
commitd4d71bd6d3fc95ea23e1f668ff8310b17932c6ee (patch)
treef65e43283c1546e9db0450e2adbd42b939047cc3 /qt-ui/profile/diveplotdatamodel.cpp
parentfed79490bffc01486463f319843c242865f0a1ed (diff)
downloadsubsurface-d4d71bd6d3fc95ea23e1f668ff8310b17932c6ee.tar.gz
Add the gradient factor on the table
It was impossible to guess what this column was just by looking at it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveplotdatamodel.cpp')
-rw-r--r--qt-ui/profile/diveplotdatamodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/diveplotdatamodel.cpp b/qt-ui/profile/diveplotdatamodel.cpp
index abffa4521..09ef76f9d 100644
--- a/qt-ui/profile/diveplotdatamodel.cpp
+++ b/qt-ui/profile/diveplotdatamodel.cpp
@@ -129,6 +129,8 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation,
return tr("Ambient pressure");
case HEARTBEAT:
return tr("Heart Beat");
+ case GFLINE:
+ return tr("Gradient Factor");
}
if (role == Qt::DisplayRole && section >= TISSUE_1 && section <= TISSUE_16) {
return QString("Ceiling: %1").arg(section - TISSUE_1);