summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-12 21:02:37 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-12 21:02:37 (GMT)
commita0bcfbb7bd850627b24c041fe79360623599525f (patch)
tree101034b9d24021098244ecc0892737f5c866dd53
parent529c6e5d22c18a6bc16c556d285aa0c1cbf42575 (diff)
Remove warning
-rw-r--r--messageviewer/src/viewer/webengine/mailwebenginepage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
index 1c4a28b..21e9545 100644
--- a/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebenginepage.cpp
@@ -62,5 +62,7 @@ void MailWebEnginePage::setPrintElementBackground(bool printElementBackground)
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
settings()->setAttribute(QWebEngineSettings::PrintElementBackgrounds, printElementBackground);
+#else
+ Q_UNUSED(printElementBackground);
#endif
}