mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d0dfec929f
commit
19b68d38ac
1 changed files with 7 additions and 5 deletions
|
@ -1607,14 +1607,16 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
|
||||||
if (col == 4)
|
if (col == 4)
|
||||||
return QString(tr("Duration: %1 min")).arg(di.displayDuration());
|
return QString(tr("Duration: %1 min")).arg(di.displayDuration());
|
||||||
}
|
}
|
||||||
// cylinder headings
|
// headings
|
||||||
if (row == 2) {
|
if (row == 2) {
|
||||||
if (col == 0)
|
if (col == 0)
|
||||||
return tr("Cylinder");
|
return tr("Gas Used:");
|
||||||
if (col == 1)
|
|
||||||
return tr("Gasmix");
|
|
||||||
if (col == 2)
|
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
|
// cylinder data
|
||||||
if (row > 2 && row < 10 && row - 3 < MAX_CYLINDERS) {
|
if (row > 2 && row < 10 && row - 3 < MAX_CYLINDERS) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue