From 28f34ff4908a90b1a7323b2988c33cdb1779fa06 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 26 Jun 2020 09:28:37 +0200 Subject: New upstream version 2.2.2+repack --- WFPalette.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'WFPalette.cpp') 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 -- cgit v1.2.3