diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 04:37:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 04:37:31 -0700 |
commit | 6ccb541f1dc22295e61195aeac532f9f46cb0253 (patch) | |
tree | d941f9e0b58b0221e9e0bfd387c4bb9eae94e98b /qt-ui/printlayout.cpp | |
parent | 2ec6303f50ee2811aa0504372ddd61227157572b (diff) | |
download | subsurface-6ccb541f1dc22295e61195aeac532f9f46cb0253.tar.gz |
Random white space cleanup
Because I can.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r-- | qt-ui/printlayout.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index f667186da..76c33a330 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -166,14 +166,14 @@ void PrintLayout::printProfileDives(int divesPerRow, int divesPerColumn) profile->plot(dive, true); QPixmap profilePm = QPixmap::grabWidget(profile); // Qt4 painter.drawPixmap((scaledW + padW) * col, - (scaledH + padH) * row + yOffsetProfile, - profilePm); + (scaledH + padH) * row + yOffsetProfile, + profilePm); // draw a table model.setDive(dive); QPixmap tablePm = QPixmap::grabWidget(table); // Qt4 painter.drawPixmap((scaledW + padW) * col, - (scaledH + padH) * row + yOffsetTable, - tablePm); + (scaledH + padH) * row + yOffsetTable, + tablePm); col++; } @@ -337,8 +337,8 @@ void PrintLayout::printTable() if (i > 0) printer->newPage(); QRegion region(0, pageIndexes.at(i) - 1, - table.width(), - pageIndexes.at(i + 1) - pageIndexes.at(i) + 1); + table.width(), + pageIndexes.at(i + 1) - pageIndexes.at(i) + 1); table.render(&painter, QPoint(0, 0), region); } } |