aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 16:00:51 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 16:03:46 +0200
commit19b68d38ac0bcaa622e09dbf004e5ce037acd464 (patch)
tree4e79a70cba52366ad0eea8e9cdcbe26e2fdca7f7 /qt-ui
parentd0dfec929fc7f2f43bd116c881b995779d7a9a17 (diff)
downloadsubsurface-19b68d38ac0bcaa622e09dbf004e5ce037acd464.tar.gz
Print: update the profile print table Gas, SAC, CNS titles
This only updates the titles to correct column offsets. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/models.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index b2f98bd52..53754a1ed 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1607,14 +1607,16 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
if (col == 4)
return QString(tr("Duration: %1 min")).arg(di.displayDuration());
}
- // cylinder headings
+ // headings
if (row == 2) {
if (col == 0)
- return tr("Cylinder");
- if (col == 1)
- return tr("Gasmix");
+ return tr("Gas Used:");
if (col == 2)
- return tr("Gas Used");
+ return tr("SAC:");
+ if (col == 3)
+ return tr("Max. CNS:");
+ if (col == 4)
+ return tr("Weights:");
}
// cylinder data
if (row > 2 && row < 10 && row - 3 < MAX_CYLINDERS) {