diff options
Diffstat (limited to 'WFPalette.cpp')
| -rw-r--r-- | WFPalette.cpp | 8 |
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 |
