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>
Showing
Please register or sign in to comment