aboutsummaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-14 22:24:48 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:05:26 +0300
commitf3c5699714e43e91c8ff8f66119da454b314264d (patch)
tree170ff30f2fdb86de9428e211d1b155a032cce85d /planner.h
parent5892fb576272214410764ea542189799d896e4bf (diff)
downloadsubsurface-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