From 3b7500fd33693da6c353600674166ca5098895e4 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 30 Nov 2013 14:38:54 +0200 Subject: Print: setup for a new profile table layout - Adjust the new rows and column count - Set new row and column spans Signed-off-by: Lubomir I. Ivanov --- qt-ui/models.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui/models.cpp') diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 12e17c8e9..726a56914 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1593,12 +1593,12 @@ void ProfilePrintModel::setDive(struct dive *divePtr) int ProfilePrintModel::rowCount(const QModelIndex &parent) const { - return 11; + return 12; } int ProfilePrintModel::columnCount(const QModelIndex &parent) const { - return 7; + return 5; } QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const -- cgit v1.2.3-70-g09d2