diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 14:38:54 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 15:32:14 +0200 |
commit | 3b7500fd33693da6c353600674166ca5098895e4 (patch) | |
tree | 395f26900f89f8cfbc3d21cc5c27e19907818074 /qt-ui/models.cpp | |
parent | d668f5dc8e0121d4000c7b2c340d7a0cd86efc49 (diff) | |
download | subsurface-3b7500fd33693da6c353600674166ca5098895e4.tar.gz |
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 <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |