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

Merge remote-tracking branch 'origin/release/20.04'

parents 5064c130 7454926a
Pipeline #22940 passed with stage
in 15 minutes and 47 seconds
......@@ -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);
......
......@@ -86,6 +86,7 @@ ManageSieveWidget::ManageSieveWidget(QWidget *parent)
ManageSieveWidget::~ManageSieveWidget()
{
disconnect(d->mTreeView, &ManageSieveTreeView::itemSelectionChanged, this, &ManageSieveWidget::slotUpdateButtons);
clear();
delete d;
}
......
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