diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-04-11 14:32:56 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-17 17:05:24 +0000 |
commit | 3aba9afa56ddc30a6a2f50519072b077b67dd8ac (patch) | |
tree | 933683b39745415529c5eef65c347b797926e30d /src/core/api/qwebengineurlscheme.cpp | |
parent | 96fb3a30457c8925431b67c0f35abb2833b7fb7c (diff) | |
download | qtwebengine-3aba9afa56ddc30a6a2f50519072b077b67dd8ac.tar.gz |
Fix printing of landscape orientation
QPageLayout::pageSize() is always defined in portrait orientation.
Removing margins without considering the actual orientation was incorrent.
Use QPageLayout::paintRect() instead.
Task-number: QTBUG-75092
Change-Id: I34c19d3f0587ae21da2d985e3107b6ec673f53d0
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/api/qwebengineurlscheme.cpp')
0 files changed, 0 insertions, 0 deletions