mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
replace deprecated QWebEngineProfile::setRequestInterceptor
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
249e0eb87d
commit
ee245f26c8
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ WebView::WebView(QWidget *parent)
|
||||||
const QString userAgent(Utility::userAgentString());
|
const QString userAgent(Utility::userAgentString());
|
||||||
_profile->setHttpUserAgent(userAgent);
|
_profile->setHttpUserAgent(userAgent);
|
||||||
QWebEngineProfile::defaultProfile()->setHttpUserAgent(userAgent);
|
QWebEngineProfile::defaultProfile()->setHttpUserAgent(userAgent);
|
||||||
_profile->setRequestInterceptor(_interceptor);
|
_profile->setUrlRequestInterceptor(_interceptor);
|
||||||
_profile->installUrlSchemeHandler("nc", _schemeHandler);
|
_profile->installUrlSchemeHandler("nc", _schemeHandler);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue