mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +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());
|
||||
_profile->setHttpUserAgent(userAgent);
|
||||
QWebEngineProfile::defaultProfile()->setHttpUserAgent(userAgent);
|
||||
_profile->setRequestInterceptor(_interceptor);
|
||||
_profile->setUrlRequestInterceptor(_interceptor);
|
||||
_profile->installUrlSchemeHandler("nc", _schemeHandler);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue