diff options
Diffstat (limited to 'logbook/WorkedBefore.cpp')
| -rw-r--r-- | logbook/WorkedBefore.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
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<eoh>" << endl; // new file + out << "WSJT-X ADIF Export<eh>" << // new file +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + endl +#else + Qt::endl +#endif + ; } - out << ADIF_record << " <eor>" << endl; + out << ADIF_record << " <eor>" << +#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); |
