Fix for Qt4 and QWebKit

This commit is contained in:
Fredrik Johansson
2019-01-25 21:39:00 +01:00
committed by wmayer
parent 1a7e7e378c
commit d429e90b11
2 changed files with 2 additions and 2 deletions

View File

@@ -331,7 +331,7 @@ BrowserView::BrowserView(QWidget* parent)
#ifdef QTWEBKIT
textSizeMultiplier = 1.0;
view->page()->setLinkDelegationPolicy(QWebView::DelegateAllLinks);
view->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
view->page()->setForwardUnsupportedContent(true);
// set our custom cookie manager