diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-11 21:18:53 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-11 21:18:53 -0400 |
commit | 4b126da97fe1a6180507b13c36591743b44d0d27 (patch) | |
tree | 3e496f67eab3ddcb5ffd2e8b11a06dbd0665c74c /src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | lumina-4b126da97fe1a6180507b13c36591743b44d0d27.tar.gz lumina-4b126da97fe1a6180507b13c36591743b44d0d27.tar.bz2 lumina-4b126da97fe1a6180507b13c36591743b44d0d27.zip |
Added multithreading support for the MuPDF backend and fixed rendering errors
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index b2d7dd32..693faa64 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -13,7 +13,7 @@ Renderer::~Renderer(){ } -bool Renderer::loadMultiThread(){ return true; } +//bool Renderer::loadMultiThread(){ return true; } QJsonObject Renderer::properties(){ return QJsonObject(); //TO-DO @@ -27,11 +27,13 @@ bool Renderer::loadDocument(QString path, QString password){ DOC=0; needpass = false; pnum=0; + docpath = path; } //Load the Document (if needed); if(DOC==0){ //qDebug() << "Loading Document"; DOC = Poppler::Document::load(path); + docpath = path; } if(DOC==0){ |