diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-14 22:24:48 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:05:26 +0300 |
commit | f3c5699714e43e91c8ff8f66119da454b314264d (patch) | |
tree | 170ff30f2fdb86de9428e211d1b155a032cce85d /planner.h | |
parent | 5892fb576272214410764ea542189799d896e4bf (diff) | |
download | subsurface-f3c5699714e43e91c8ff8f66119da454b314264d.tar.gz |
Printing: remove silly white line at end of each page
QPrinter::pageRect() doesn't always return the correct value of the
printable area, which results in white horizontal lines of un-rendered
area at the bottom of each page, Use QPrinter::pageLayout() instead
which fixes the issue.
QPrinter::pageLayout() is added in QT 5.3, So use pageRect for previous
versions.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'planner.h')
0 files changed, 0 insertions, 0 deletions