summaryrefslogtreecommitdiffstats
path: root/WebKit/qt/Api/qwebpage_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/qt/Api/qwebpage_p.h')
-rw-r--r--WebKit/qt/Api/qwebpage_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/qt/Api/qwebpage_p.h b/WebKit/qt/Api/qwebpage_p.h
index b9571fa..f0f842d 100644
--- a/WebKit/qt/Api/qwebpage_p.h
+++ b/WebKit/qt/Api/qwebpage_p.h
@@ -135,7 +135,12 @@ public:
#ifndef QT_NO_UNDOSTACK
QUndoStack *undoStack;
#endif
+
+#if QT_VERSION >= 0x040600
+ QWeakPointer<QWidget> view;
+#else
QWidget* view;
+#endif
bool insideOpenCall;
quint64 m_totalBytes;