summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-20 15:07:57 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-11 08:41:57 -0700
commitd453d5cb37dcec5341c9ef8e6063665dc5b629b8 (patch)
tree315163eca377f38b654b751a89af756282e12235 /qt-ui
parent619c1b3ec9eece0967fc89475a21ff34946eabd6 (diff)
downloadsubsurface-d453d5cb37dcec5341c9ef8e6063665dc5b629b8.tar.gz
Rename dive gas function and defines for clarity
This renames the dive gas functions to not talk about just nitrox, and to instead talk about gas. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 019e4d99f..82fdbdc43 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1147,7 +1147,7 @@ QVariant DiveItem::data(int column, int role) const
retVal = QString(dive->cylinder[0].type.description);
break;
case GAS:
- retVal = QString(get_nitrox_string(dive));
+ retVal = QString(get_dive_gas_string(dive));
break;
case SAC:
retVal = displaySac();