Commit 7505d03a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against qt5.13

parent ec1ed860
Pipeline #21298 passed with stage
in 17 minutes and 53 seconds
......@@ -46,9 +46,7 @@ SieveEditorWebEngineView::SieveEditorWebEngineView(QWidget *parent)
page->settings()->setAttribute(QWebEngineSettings::ScreenCaptureEnabled, false);
page->settings()->setAttribute(QWebEngineSettings::FullScreenSupportEnabled, false);
page->settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
#if QTWEBENGINEWIDGETS_VERSION >= QT_VERSION_CHECK(5, 13, 0)
page->settings()->setAttribute(QWebEngineSettings::PdfViewerEnabled, false);
#endif
connect(profile, &QWebEngineProfile::downloadRequested, this, &SieveEditorWebEngineView::downloadRequested);
setPage(page);
......
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