summaryrefslogtreecommitdiffstats
path: root/src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h')
-rw-r--r--src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h b/src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h
index 5918c0328..c4d8e0f9a 100644
--- a/src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h
+++ b/src/pdf/plugins/imageformats/pdf/qpdfiohandler_p.h
@@ -41,7 +41,7 @@ private:
bool load(QIODevice *device);
private:
- QPdfDocument *m_doc = nullptr;
+ QPointer<QPdfDocument> m_doc;
int m_page = -1;
QRect m_clipRect;