mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Print: add more table headings for Divemaster, Buddy, etc..
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
ab8e781660
commit
35f1f716a5
1 changed files with 13 additions and 0 deletions
|
@ -1625,6 +1625,19 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
|
|||
if (row == 7)
|
||||
return QString(dive->notes);
|
||||
}
|
||||
// more headings
|
||||
if (row == 4) {
|
||||
if (col == 0)
|
||||
return tr("Divemaster:");
|
||||
if (col == 1)
|
||||
return tr("Buddy:");
|
||||
if (col == 2)
|
||||
return tr("Suit:");
|
||||
if (col == 3)
|
||||
return tr("Viz:");
|
||||
if (col == 4)
|
||||
return tr("Rating:");
|
||||
}
|
||||
/*
|
||||
// cylinder data
|
||||
if (row > 2 && row < 10 && row - 3 < MAX_CYLINDERS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue