Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
db55316b
Commit
db55316b
authored
Oct 22, 2020
by
Laurent Montel
Browse files
Now it depends against new version. Old code can be removed
parent
77ec100b
Changes
1
Hide whitespace changes
Inline
Side-by-side
processui/scripting.cpp
View file @
db55316b
...
...
@@ -88,11 +88,7 @@ class ScriptingHtmlDialog : public QDialog {
setLayout
(
layout
);
layout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
m_webView
.
settings
()
->
setAttribute
(
QWebEngineSettings
::
PluginsEnabled
,
false
);
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0)
m_webView
.
page
()
->
profile
()
->
setRequestInterceptor
(
new
RemoteUrlInterceptor
(
this
));
#else
m_webView
.
page
()
->
profile
()
->
setUrlRequestInterceptor
(
new
RemoteUrlInterceptor
(
this
));
#endif
#endif
}
#if WEBENGINE_SCRIPTING_ENABLED
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment