aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-02-09 14:01:48 -0500
committerKen Moore <ken@ixsystems.com>2018-02-09 14:01:48 -0500
commit9d2eb0fe3697201288a487ea851e1316abe864bf (patch)
treec305b415379d0003824638dcf09dd46c9b23efe0 /src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
parentredo shell logout to Lumina (diff)
downloadlumina-9d2eb0fe3697201288a487ea851e1316abe864bf.tar.gz
lumina-9d2eb0fe3697201288a487ea851e1316abe864bf.tar.bz2
lumina-9d2eb0fe3697201288a487ea851e1316abe864bf.zip
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.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PrintWidget.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/PrintWidget.h4
1 files changed, 2 insertions, 2 deletions
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);
bgstack15