summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-13 19:25:30 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-13 19:25:30 (GMT)
commit2fa342ba2ad6f9b60a1e836067bca6183dffd39a (patch)
tree8629d33b97ff68e6c88093e3476ba4c5aefc572c
parentb441cce2837a8aa0c4c0862641cb88386cbb0941 (diff)
Not necessary to show error page for an email
-rw-r--r--messageviewer/src/viewer/webengine/mailwebenginepage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
index 8a62c95..88039ba 100644
--- a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
@@ -56,6 +56,7 @@ void MailWebEnginePage::initialize()
settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, false);
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, false);
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, false);
+ settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, false);
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
settings()->setAttribute(QWebEngineSettings::AutoLoadIconsForPage, false);