diff options
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)); } |