diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-17 19:26:08 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-17 19:26:08 -0400 |
commit | 1e2d9a567a217c5ca3374bc307038e7a65be1c55 (patch) | |
tree | a9a122724603f75e811ee937a995f059a8022d2c /src-qt5/desktop-utils/lumina-pdf/mainUI.h | |
parent | Replaced tabs with spaces and removed some unneeded comments (diff) | |
download | lumina-1e2d9a567a217c5ca3374bc307038e7a65be1c55.tar.gz lumina-1e2d9a567a217c5ca3374bc307038e7a65be1c55.tar.bz2 lumina-1e2d9a567a217c5ca3374bc307038e7a65be1c55.zip |
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.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/mainUI.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.h b/src-qt5/desktop-utils/lumina-pdf/mainUI.h index 89fbed1d..311bb46d 100644 --- a/src-qt5/desktop-utils/lumina-pdf/mainUI.h +++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.h @@ -62,7 +62,7 @@ private: //PDF Page Loading cache variables Renderer *BACKEND; - void loadPage(int num, MainUI *obj, QSize dpi); + void loadPage(int num, MainUI *obj, QSize dpi, int degrees); //Functions/variables for the presentation mode PresentationLabel *presentationLabel; @@ -73,7 +73,7 @@ private: void endPresentation(); private slots: - void startLoadingPages(); + void startLoadingPages(int degrees = 0); void slotPageLoaded(int); //Simplification routines |