aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/mainwindowtabbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/mainwindowtabbar.cpp b/src/widgets/mainwindowtabbar.cpp
index 9991043..7256f09 100644
--- a/src/widgets/mainwindowtabbar.cpp
+++ b/src/widgets/mainwindowtabbar.cpp
@@ -77,7 +77,7 @@ void MainWindowTabBar::setProfile(WebEngineProfile *profile)
Q_CHECK_PTR(profile);
for(auto view : qAsConst(m_views)) {
- QWebEnginePage *page = new QWebEnginePage(profile);
+ WebPage *page = new WebPage(profile);
page->load(view->url());
view->setPage(page);
}
@@ -144,7 +144,7 @@ void MainWindowTabBar::updateVectorArrangement(int from, int to)
WebView *createWebView(const QUrl &url, WebEngineProfile *profile, MainWindow *parent)
{
WebView *view = new WebView(parent);
- QWebEnginePage *page = new QWebEnginePage(profile);
+ WebPage *page = new WebPage(profile);
view->setPage(page);
page->load(url);