summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-25 10:51:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-25 10:51:21 +0200
commit2ad17fa1cb5309172899cd8159d247071d6cd3e4 (patch)
tree14c51b676af835b32bc06acdede77c6991865450 /src/webview.cpp
parentno inline functions, as suggested (diff)
downloadrekonq-2ad17fa1cb5309172899cd8159d247071d6cd3e4.tar.xz
Refactored page/setNewPage KWebPage methods
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 374a06a8..92995a93 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -80,9 +80,9 @@ WebView::WebView(QWidget* parent)
}
-WebPage *WebView::webPage() const
+void WebView::setNewPage()
{
- return m_page;
+ setPage(new WebPage(this));
}