summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
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));
}