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

Remove commented code

parent 4f391639
......@@ -20,7 +20,6 @@ MarkdownEnginePage::MarkdownEnginePage(QObject *parent)
settings()->setAttribute(QWebEngineSettings::XSSAuditingEnabled, false);
settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, false);
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, false);
// settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, false);
settings()->setAttribute(QWebEngineSettings::ScreenCaptureEnabled, false);
settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
settings()->setAttribute(QWebEngineSettings::AutoLoadIconsForPage, false);
......
......@@ -39,7 +39,6 @@ MarkdownPreviewWidget::MarkdownPreviewWidget(QWidget *parent)
mWebView->settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, false);
mWebView->settings()->setAttribute(QWebEngineSettings::XSSAuditingEnabled, false);
mWebView->settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, false);
// mWebView->settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, false);
mWebView->settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, false);
mWebView->settings()->setAttribute(QWebEngineSettings::HyperlinkAuditingEnabled, false);
mWebView->settings()->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, 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