Commit 1f254880 authored by Laurent Montel's avatar Laurent Montel 😁

Fix load header with qt5.15

parent 7bdfd56d
......@@ -40,7 +40,8 @@ void MailWebEnginePage::initialize()
settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, enableElement);
settings()->setAttribute(QWebEngineSettings::XSSAuditingEnabled, enableElement);
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, enableElement);
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, enableElement);
//We need to activate it in qt5.15 otherwise we can't load local css file and co
//settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, enableElement);
settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, enableElement);
settings()->setAttribute(QWebEngineSettings::HyperlinkAuditingEnabled, enableElement);
settings()->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, enableElement);
......
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