summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-20 15:07:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-11 08:41:36 -0700
commit619c1b3ec9eece0967fc89475a21ff34946eabd6 (patch)
tree0ca294c4f3e8f512e34f7112f8b27a3566304e99 /qt-ui/models.cpp
parente07d23f806311460789f30d4998a1c852af39dc7 (diff)
downloadsubsurface-619c1b3ec9eece0967fc89475a21ff34946eabd6.tar.gz
Rename the model column from NITROX to GAS
The column isn't just about NITROX, there might be air and trimix in there too. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index db5f180e0..019e4d99f 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1102,7 +1102,7 @@ QVariant DiveItem::data(int column, int role) const
case CYLINDER:
retVal = QString(dive->cylinder[0].type.description);
break;
- case NITROX:
+ case GAS:
retVal = nitrox_sort_value(dive);
break;
case SAC:
@@ -1146,7 +1146,7 @@ QVariant DiveItem::data(int column, int role) const
case CYLINDER:
retVal = QString(dive->cylinder[0].type.description);
break;
- case NITROX:
+ case GAS:
retVal = QString(get_nitrox_string(dive));
break;
case SAC:
@@ -1338,7 +1338,7 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
case CYLINDER:
ret = tr("Cyl");
break;
- case NITROX:
+ case GAS:
ret = tr("Gas");
break;
case SAC: