diff --git a/mobile/components/pageitem.h b/mobile/components/pageitem.h index 58a1d9446..f3da12efd 100644 --- a/mobile/components/pageitem.h +++ b/mobile/components/pageitem.h @@ -21,6 +21,7 @@ #define QPAGEITEM_H #include +#include #include #include @@ -165,9 +166,9 @@ private: bool m_intentionalDraw; bool m_bookmarked; bool m_isThumbnail; - QWeakPointer m_documentItem; + QPointer m_documentItem; QTimer *m_redrawTimer; - QWeakPointer m_flickable; + QPointer m_flickable; Okular::DocumentViewport m_viewPort; };