Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit dc3f1ddc authored by Laurent Montel's avatar Laurent Montel 😁

Remove not necessary check

parent 36196cbd
......@@ -41,10 +41,8 @@ IntroductionWebEnginePage::IntroductionWebEnginePage(QObject *parent)
settings()->setAttribute(QWebEngineSettings::Accelerated2dCanvasEnabled, false);
settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
settings()->setAttribute(QWebEngineSettings::FocusOnNavigationEnabled, false);
settings()->setAttribute(QWebEngineSettings::AllowRunningInsecureContent, false);
#endif
profile()->setPersistentCookiesPolicy(QWebEngineProfile::NoPersistentCookies);
......
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