diff options
author | Ken Moore <ken@ixsystems.com> | 2018-03-13 09:39:35 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-03-13 09:39:35 -0400 |
commit | 83ca2eae7924ba668baecd66631628507b77c60f (patch) | |
tree | 7bf2eb52224d530844a1e0af23762d3cef70700c /src-qt5/desktop-utils/lumina-pdf/Renderer.h | |
parent | Oops - comment out a debugging break in the print routine. (diff) | |
parent | Added multithreading support for the MuPDF backend and fixed rendering errors (diff) | |
download | lumina-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.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Renderer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer.h b/src-qt5/desktop-utils/lumina-pdf/Renderer.h index 09e9c425..c9e13c7f 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer.h +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer.h @@ -11,6 +11,7 @@ #include <QImage> #include <QDebug> #include <QJsonObject> +#include <QMutex> #include "textData.h" class Renderer{ @@ -19,10 +20,11 @@ private: bool needpass; QString docpath; //save the path for the currently-loaded document QString doctitle; + QMutex *mutex; public: Renderer(); ~Renderer(); - bool loadMultiThread(); + //bool loadMultiThread(); //Information functions (usually needs to be loaded first) int numPages(){ return pnum; } |