Fix misuse of QWeakPointer

parent 85078160
......@@ -21,6 +21,7 @@
#define QPAGEITEM_H
#include <QQuickPaintedItem>
#include <QPointer>
#include <core/document.h>
#include <core/view.h>
......@@ -165,9 +166,9 @@ private:
bool m_intentionalDraw;
bool m_bookmarked;
bool m_isThumbnail;
QWeakPointer<DocumentItem> m_documentItem;
QPointer<DocumentItem> m_documentItem;
QTimer *m_redrawTimer;
QWeakPointer <QQuickItem> m_flickable;
QPointer<QQuickItem> m_flickable;
Okular::DocumentViewport m_viewPort;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment