From f66090da906348aea769173c2d2333015a898c84 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 20 Dec 2017 14:57:07 +0100 Subject: Added SSL cert warnings --- src/widgets/mainwindowtabbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets/mainwindowtabbar.cpp') 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); -- cgit v1.2.1