aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Renderer.h4
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; }
bgstack15