From 9d2eb0fe3697201288a487ea851e1316abe864bf Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 9 Feb 2018 14:01:48 -0500 Subject: Add a TESTING definition for turning off the work-in-progress UI items. Also fix the rendering of a new document after it is done loading. --- src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/desktop-utils/lumina-pdf/PrintWidget.h') diff --git a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h index 455c86eb..a00200a3 100644 --- a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h +++ b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h @@ -73,7 +73,7 @@ public: QMatrix matrix; switch(degrees) { case 270: - matrix = QMatrix(0, -1, 1, 0, 0, 0); + matrix = QMatrix(0, -1, 1, 0, 0, 0); break; case 90: matrix = QMatrix(0, 1, -1, 0, 0, 0); @@ -82,7 +82,7 @@ public: matrix = QMatrix(-1, 0, 0, -1, 0, 0); break; default: - matrix = QMatrix(1, 0, 0, 1, 0 ,0); + matrix = QMatrix(1, 0, 0, 1, 0 ,0); } painter->setClipRect(paperRect & option->exposedRect); -- cgit