Commit 4e355d82 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Now we depend against qt5.13

parent 31b3567d
Pipeline #21297 passed with stage
in 12 minutes and 21 seconds
...@@ -89,11 +89,7 @@ ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *p ...@@ -89,11 +89,7 @@ ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *p
// Needed to workaround crash in webengine, see https://bugreports.qt.io/browse/QTBUG-72260 // Needed to workaround crash in webengine, see https://bugreports.qt.io/browse/QTBUG-72260
auto webEngineUrlInterceptor = new AkregatorRequestInterceptor(); auto webEngineUrlInterceptor = new AkregatorRequestInterceptor();
connect(profile, &QObject::destroyed, webEngineUrlInterceptor, &AkregatorRequestInterceptor::deleteLater); connect(profile, &QObject::destroyed, webEngineUrlInterceptor, &AkregatorRequestInterceptor::deleteLater);
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0)
profile->setRequestInterceptor(webEngineUrlInterceptor);
#else
profile->setUrlRequestInterceptor(webEngineUrlInterceptor); profile->setUrlRequestInterceptor(webEngineUrlInterceptor);
#endif
setPage(mPageEngine); setPage(mPageEngine);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment