summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-19 07:05:54 +0100
committerLaurent Montel <[email protected]>2018-01-19 07:06:00 +0100
commit48645957da452db6892b94cdc019a28a215d1b84 (patch)
treeb1109e741bf2a4ba5d9c400eac817bbb9f5da3e5
parent718298b3f30318ea54af2ef62565b6c894e34bc6 (diff)
Fix typo
-rw-r--r--src/frame/webengine/akrwebengineviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame/webengine/akrwebengineviewer.cpp b/src/frame/webengine/akrwebengineviewer.cpp
index d9cac37..ab4ffd3 100644
--- a/src/frame/webengine/akrwebengineviewer.cpp
+++ b/src/frame/webengine/akrwebengineviewer.cpp
@@ -43,7 +43,7 @@ AkrWebEngineViewer::AkrWebEngineViewer(KActionCollection *ac, QWidget *parent)
: ArticleViewerWebEngine(ac, parent)
{
//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::AutoLoadImages, true);
settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false);