aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-13 09:39:35 -0400
committerKen Moore <ken@ixsystems.com>2018-03-13 09:39:35 -0400
commit83ca2eae7924ba668baecd66631628507b77c60f (patch)
tree7bf2eb52224d530844a1e0af23762d3cef70700c /src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp
parentOops - comment out a debugging break in the print routine. (diff)
parentAdded multithreading support for the MuPDF backend and fixed rendering errors (diff)
downloadlumina-83ca2eae7924ba668baecd66631628507b77c60f.tar.gz
lumina-83ca2eae7924ba668baecd66631628507b77c60f.tar.bz2
lumina-83ca2eae7924ba668baecd66631628507b77c60f.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp4
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){
bgstack15