summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2016-09-23 09:25:03 (GMT)
committerAndre Heinecke <aheinecke@intevation.de>2016-09-23 09:25:03 (GMT)
commit04c992a972c28dd3efdeed9b3b6e2938826d67fa (patch)
tree9204c5f3729ceeb1b25eec76917104391b1f522e
parent713468d395efb7865e7f7857f2f0401f2732a64e (diff)
Fix build with Qt 5.6
QWebEngineSettings::WebGLEnabled is new in 5.7.
-rw-r--r--messageviewer/src/viewer/webengine/mailwebenginepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
index 4b1f70f..5041bb5 100644
--- a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
@@ -49,8 +49,8 @@ void MailWebEnginePage::initialize()
settings()->setAttribute(QWebEngineSettings::LocalStorageEnabled, false);
settings()->setAttribute(QWebEngineSettings::XSSAuditingEnabled, false);
settings()->setAttribute(QWebEngineSettings::ErrorPageEnabled, false);
- settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
+ settings()->setAttribute(QWebEngineSettings::WebGLEnabled, false);
settings()->setAttribute(QWebEngineSettings::AutoLoadIconsForPage, false);
#endif