aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-20 14:57:07 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-20 14:57:07 +0100
commitf66090da906348aea769173c2d2333015a898c84 (patch)
tree9a22d7ea632f4b16b604aed4565dbeb28bc4727e /src/widgets
parentCan now open links in new tab (diff)
downloadsmolbote-f66090da906348aea769173c2d2333015a898c84.tar.xz
Added SSL cert warnings
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);