diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-05 19:35:34 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:02:17 +0300 |
commit | e2dcee55a38b86e48daad8a890ca2b4e6b122e37 (patch) | |
tree | 7a56cfce08908ffa864cc9f28f15fce362cdcb88 /qt-gui.cpp | |
parent | 11841563d25a18bee5fc5e52139ca3d89d601818 (diff) | |
download | subsurface-e2dcee55a38b86e48daad8a890ca2b4e6b122e37.tar.gz |
Printing: use pageRect() to support old QT versions
While calculating the page size use QPrinter::pageRect instead of
QPrinter::pageLayout which is added in QT 5.3 and is not supported in
earlier versions.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'qt-gui.cpp')
0 files changed, 0 insertions, 0 deletions