aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 16:23:19 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 16:23:19 +0200
commit35f1f716a5a63aa344513a7b3db20dc3eab8ec9b (patch)
tree4c06fcea45b306c7467f467c773f569e87eed172
parentab8e781660b412b98d95940103bf79b57536498c (diff)
downloadsubsurface-35f1f716a5a63aa344513a7b3db20dc3eab8ec9b.tar.gz
Print: add more table headings for Divemaster, Buddy, etc..
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--qt-ui/models.cpp13
1 files changed, 13 insertions, 0 deletions
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) {