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

Fix autoload image by default

parent e72e49db
......@@ -35,7 +35,7 @@ SieveEditorWebEngineView::SieveEditorWebEngineView(QWidget *parent)
QWebEnginePage *page = new QWebEnginePage(profile, this);
page->settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, false);
page->settings()->setAttribute(QWebEngineSettings::PluginsEnabled, false);
page->settings()->setAttribute(QWebEngineSettings::AutoLoadImages, false);
page->settings()->setAttribute(QWebEngineSettings::AutoLoadImages, true);
page->settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false);
page->settings()->setAttribute(QWebEngineSettings::JavascriptCanAccessClipboard, false);
page->settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, 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