diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 10:51:21 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 10:51:21 +0200 |
commit | 2ad17fa1cb5309172899cd8159d247071d6cd3e4 (patch) | |
tree | 14c51b676af835b32bc06acdede77c6991865450 /src/webview.cpp | |
parent | no inline functions, as suggested (diff) | |
download | rekonq-2ad17fa1cb5309172899cd8159d247071d6cd3e4.tar.xz |
Refactored page/setNewPage KWebPage methods
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 4 |
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)); } |