diff --git a/logbook/WorkedBefore.cpp b/logbook/WorkedBefore.cpp index 152feeb25..d6a794108 100644 --- a/logbook/WorkedBefore.cpp +++ b/logbook/WorkedBefore.cpp @@ -19,7 +19,9 @@ #include #include #include +#include #include "Configuration.hpp" +#include "revision_utils.hpp" #include "qt_helpers.hpp" #include "pimpl_impl.hpp" @@ -442,7 +444,18 @@ bool WorkedBefore::add (QString const& call QTextStream out {&file}; if (!file.size ()) { - out << "WSJT-X ADIF Export" << // new file + auto ts = QDateTime::currentDateTimeUtc ().toString ("yyyyMMdd HHmmss"); + auto ver = version (true); + out << // new file + QString { + "ADIF Export\n" + "3.1.1\n" + "%0\n" + "WSJT-X\n" + "%2\n" + "" + }.arg (ts).arg (ver.size ()).arg (ver) + << #if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) endl #else diff --git a/logbook/logbook.cpp b/logbook/logbook.cpp index 327585110..2cfa87418 100644 --- a/logbook/logbook.cpp +++ b/logbook/logbook.cpp @@ -79,7 +79,7 @@ QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, Q QString t; t = "" + hisCall; t += " " + hisGrid; - if (mode != "FT4") + if (mode != "FT4" && mode != "FST4") { t += " " + mode; } diff --git a/models/Bands.cpp b/models/Bands.cpp index f8d7872f2..f6d79f2ee 100644 --- a/models/Bands.cpp +++ b/models/Bands.cpp @@ -28,7 +28,9 @@ namespace {"15m", 21000000u, 21450000u}, {"12m", 24890000u, 24990000u}, {"10m", 28000000u, 29700000u}, + {"8m", 40000000u, 45000000u}, {"6m", 50000000u, 54000000u}, + {"5m", 54000001u, 69900000u}, {"4m", 70000000u, 71000000u}, {"2m", 144000000u, 148000000u}, {"1.25m", 222000000u, 225000000u},