From 19b68d38ac0bcaa622e09dbf004e5ce037acd464 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 30 Nov 2013 16:00:51 +0200 Subject: 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 --- qt-ui/models.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'qt-ui') 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) { -- cgit v1.2.3-70-g09d2