Commit d637f854 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make sure that javascript is activated by default (we need it for all javascript action)

parent 8d1e56d8
......@@ -24,7 +24,7 @@ using namespace MessageViewer;
MailWebEnginePage::MailWebEnginePage(QObject *parent)
: MessageViewer::WebEnginePage(parent)
{
//settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, false);
settings()->setAttribute(QWebEngineSettings::JavascriptEnabled, true);
settings()->setAttribute(QWebEngineSettings::PluginsEnabled, false);
const QFontInfo font(QFontDatabase().systemFont(QFontDatabase::GeneralFont));
......
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