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

Fix typo

parent 718298b3
...@@ -43,7 +43,7 @@ AkrWebEngineViewer::AkrWebEngineViewer(KActionCollection *ac, QWidget *parent) ...@@ -43,7 +43,7 @@ AkrWebEngineViewer::AkrWebEngineViewer(KActionCollection *ac, QWidget *parent)
: ArticleViewerWebEngine(ac, parent) : ArticleViewerWebEngine(ac, parent)
{ {
//TODO update settings when we change config //TODO update settings when we change config
settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, Settings::checkPhishingUrl()); settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, Settings::enableJavascript());
settings()->setAttribute(QWebEngineSettings::PluginsEnabled, false); settings()->setAttribute(QWebEngineSettings::PluginsEnabled, false);
settings()->setAttribute(QWebEngineSettings::AutoLoadImages, true); settings()->setAttribute(QWebEngineSettings::AutoLoadImages, true);
settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false); settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false);
......
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