Fixeda a typo that got the 'x' value where the requested one was actually y.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
a69e92d891
commit
fdfd261f14
@ -71,7 +71,7 @@ void PrintLayout::setup()
|
|||||||
{
|
{
|
||||||
QDesktopWidget *desktop = QApplication::desktop();
|
QDesktopWidget *desktop = QApplication::desktop();
|
||||||
screenDpiX = desktop->physicalDpiX();
|
screenDpiX = desktop->physicalDpiX();
|
||||||
screenDpiY = desktop->physicalDpiX();
|
screenDpiY = desktop->physicalDpiY();
|
||||||
|
|
||||||
printerDpi = printer->resolution();
|
printerDpi = printer->resolution();
|
||||||
pageRect = printer->pageRect();
|
pageRect = printer->pageRect();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user