Commit 2fa342ba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to show error page for an email

parent b441cce2
......@@ -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);
......
Supports Markdown
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