From 35f1f716a5a63aa344513a7b3db20dc3eab8ec9b Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 30 Nov 2013 16:23:19 +0200 Subject: Print: add more table headings for Divemaster, Buddy, etc.. Signed-off-by: Lubomir I. Ivanov --- qt-ui/models.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 33ea95785..971c6727a 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -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) { -- cgit v1.2.3-70-g09d2