From 9990285acbfa40ec4478d46d9f542d227126239b 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 --- logbook/WorkedBefore.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'logbook/WorkedBefore.cpp') diff --git a/logbook/WorkedBefore.cpp b/logbook/WorkedBefore.cpp index a1d774e4..438243d4 100644 --- a/logbook/WorkedBefore.cpp +++ b/logbook/WorkedBefore.cpp @@ -442,9 +442,21 @@ bool WorkedBefore::add (QString const& call QTextStream out {&file}; if (!file.size ()) { - out << "WSJT-X ADIF Export" << endl; // new file + out << "WSJT-X ADIF Export" << // new file +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + endl +#else + Qt::endl +#endif + ; } - out << ADIF_record << " " << endl; + out << ADIF_record << " " << +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + endl +#else + Qt::endl +#endif + ; } m_->worked_.emplace (call.toUpper (), grid.left (4).toUpper (), band.toUpper (), mode.toUpper () , entity.entity_name, entity.continent, entity.CQ_zone, entity.ITU_zone); -- cgit v1.2.3