From fdfd261f1453460407bfefbb78618b5edaf3f0ec Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 16 Jul 2013 12:48:37 -0300 Subject: Fixeda a typo that got the 'x' value where the requested one was actually y. Signed-off-by: Tomaz Canabrava --- qt-ui/printlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index 6b81dd616..457dd8661 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -71,7 +71,7 @@ void PrintLayout::setup() { QDesktopWidget *desktop = QApplication::desktop(); screenDpiX = desktop->physicalDpiX(); - screenDpiY = desktop->physicalDpiX(); + screenDpiY = desktop->physicalDpiY(); printerDpi = printer->resolution(); pageRect = printer->pageRect(); -- cgit v1.2.3-70-g09d2