summaryrefslogtreecommitdiff
path: root/WFPalette.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2020-06-26 09:28:37 +0200
committerChristoph Berg <christoph.berg@credativ.de>2020-06-26 11:49:13 +0200
commit9990285acbfa40ec4478d46d9f542d227126239b (patch)
treed8f012d37c627d3d6a821bfb3be98c3e30c17718 /WFPalette.cpp
parent0e845413c25b8eddc8d6d701b9b6c5af29b2bde8 (diff)
New upstream version 2.2.2+repack
Diffstat (limited to 'WFPalette.cpp')
-rw-r--r--WFPalette.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/WFPalette.cpp b/WFPalette.cpp
index 1dd65fd2..d7d8a5e6 100644
--- a/WFPalette.cpp
+++ b/WFPalette.cpp
@@ -242,7 +242,13 @@ namespace
QTextStream stream {&file};
Q_FOREACH (auto colour, colours_)
{
- stream << colour.red () << ';' << colour.green () << ';' << colour.blue () << endl;
+ stream << colour.red () << ';' << colour.green () << ';' << colour.blue () <<
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ endl
+#else
+ Qt::endl
+#endif
+ ;
}
}
else