Print: add more table headings for Divemaster, Buddy, etc..

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2013-11-30 16:23:19 +02:00
parent ab8e781660
commit 35f1f716a5

View file

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