[PATCH 1/3] Rename list column from O2% to Gas

Anton Lundin glance at acc.umu.se
Wed Aug 13 06:50:22 PDT 2014


In the dive list, calling the column O2% is kinda wrong, because in
at least my dive list there are both air and trimix showing up, so this
renames that column to Gas.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/models.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 11e84c9..db5f180 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1339,7 +1339,7 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
 			ret = tr("Cyl");
 			break;
 		case NITROX:
-			ret = QString("O%1%").arg(UTF8_SUBSCRIPT_2);
+			ret = tr("Gas");
 			break;
 		case SAC:
 			ret = tr("SAC");
-- 
1.9.1



More information about the subsurface mailing list