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>
This commit is contained in:
Lubomir I. Ivanov 2013-11-30 16:00:51 +02:00
parent d0dfec929f
commit 19b68d38ac

View file

@ -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) {