aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-01-30 13:24:51 -0500
committerZackaryWelch <welch.zackary@gmail.com>2018-01-30 13:24:51 -0500
commit0692cf9844bc0d7fda9a811b1b540280da140685 (patch)
treeb83fe42d12350e6f49a57cc5e2e9df05e94474e2 /src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
parentUpdated gitignore to ignore fontconfig directory (diff)
downloadlumina-0692cf9844bc0d7fda9a811b1b540280da140685.tar.gz
lumina-0692cf9844bc0d7fda9a811b1b540280da140685.tar.bz2
lumina-0692cf9844bc0d7fda9a811b1b540280da140685.zip
Fixed the find/bookmark widgets and rotation for lumina-pdf
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PrintWidget.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/PrintWidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
index da0dc8d3..455c86eb 100644
--- a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
+++ b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h
@@ -72,12 +72,15 @@ public:
QMatrix matrix;
switch(degrees) {
- case -90:
+ case 270:
matrix = QMatrix(0, -1, 1, 0, 0, 0);
break;
case 90:
matrix = QMatrix(0, 1, -1, 0, 0, 0);
break;
+ case 180:
+ matrix = QMatrix(-1, 0, 0, -1, 0, 0);
+ break;
default:
matrix = QMatrix(1, 0, 0, 1, 0 ,0);
}
bgstack15