diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-16 12:48:37 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-16 12:48:37 -0300 |
commit | fdfd261f1453460407bfefbb78618b5edaf3f0ec (patch) | |
tree | 98fe9df760d6a624ebaa2cc642f8a235b4e5abe5 /qt-ui/printlayout.cpp | |
parent | a69e92d891726e7aa75024d313ec2295faa7cc72 (diff) | |
download | subsurface-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.cpp | 2 |
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(); |