diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-01-30 13:24:51 -0500 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-01-30 13:24:51 -0500 |
commit | 0692cf9844bc0d7fda9a811b1b540280da140685 (patch) | |
tree | b83fe42d12350e6f49a57cc5e2e9df05e94474e2 /src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | |
parent | Updated gitignore to ignore fontconfig directory (diff) | |
download | lumina-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.h | 5 |
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); } |