From 1e2d9a567a217c5ca3374bc307038e7a65be1c55 Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Sat, 17 Mar 2018 19:26:08 -0400 Subject: Moved rotation to the Backend. Fixed memory issues in MuPDF but caused other in Poppler. Poppler consumes a lot of memory already and should no long be default once all memory issuse are sorted out in MuPDF. --- src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | 2 -- 1 file changed, 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 476ef596..98bcd259 100644 --- a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h +++ b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h @@ -106,7 +106,6 @@ private: void setZoomMode(ZoomMode); QGraphicsScene *scene; - QMatrix rotMatrix; int curPage, publicPageNum; ViewMode viewMode; ZoomMode zoomMode; @@ -136,7 +135,6 @@ public slots: void setCurrentPage(int); void setVisible(bool) Q_DECL_OVERRIDE; void highlightText(TextData*); - void setDegrees(int); void updatePreview(); void fitView(); -- cgit