summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-16 12:48:37 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-16 12:48:37 -0300
commitfdfd261f1453460407bfefbb78618b5edaf3f0ec (patch)
tree98fe9df760d6a624ebaa2cc642f8a235b4e5abe5 /qt-ui/printlayout.cpp
parenta69e92d891726e7aa75024d313ec2295faa7cc72 (diff)
downloadsubsurface-fdfd261f1453460407bfefbb78618b5edaf3f0ec.tar.gz
Fixeda a typo that got the 'x' value where the requested one was actually y.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r--qt-ui/printlayout.cpp2
1 files changed, 1 insertions, 1 deletions
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();