summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/Api/qwebview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/Api/qwebview.cpp')
-rw-r--r--Source/WebKit/qt/Api/qwebview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/Api/qwebview.cpp b/Source/WebKit/qt/Api/qwebview.cpp
index 76bf39277..296661aa4 100644
--- a/Source/WebKit/qt/Api/qwebview.cpp
+++ b/Source/WebKit/qt/Api/qwebview.cpp
@@ -196,7 +196,7 @@ void QWebViewPrivate::detachCurrentPage()
if (!page)
return;
- page->d->view.clear();
+ page->d->view = 0;
// if the page client is the special client constructed for
// delegating the responsibilities to a QWidget, we need