diff options
| author | Christoph Berg <myon@debian.org> | 2020-09-28 23:28:13 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-09-28 23:28:13 +0200 |
| commit | 7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (patch) | |
| tree | da509a2cf3667b6f9855ea811f4a1f95d9e6f5ef /logbook/logbook.cpp | |
| parent | 28f34ff4908a90b1a7323b2988c33cdb1779fa06 (diff) | |
New upstream version 2.3.0~rc1+repackupstream/2.3.0_rc1+repack
Diffstat (limited to 'logbook/logbook.cpp')
| -rw-r--r-- | logbook/logbook.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logbook/logbook.cpp b/logbook/logbook.cpp index 316901f9..2cfa8741 100644 --- a/logbook/logbook.cpp +++ b/logbook/logbook.cpp @@ -74,12 +74,12 @@ QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, Q QDateTime const& dateTimeOff, QString const& band, QString const& comments, QString const& name, QString const& strDialFreq, QString const& myCall, QString const& myGrid, QString const& txPower, QString const& operator_call, - QString const& xSent, QString const& xRcvd) + QString const& xSent, QString const& xRcvd, QString const& propmode) { QString t; t = "<call:" + QString::number(hisCall.size()) + ">" + hisCall; t += " <gridsquare:" + QString::number(hisGrid.size()) + ">" + hisGrid; - if (mode != "FT4") + if (mode != "FT4" && mode != "FST4") { t += " <mode:" + QString::number(mode.size()) + ">" + mode; } @@ -101,6 +101,7 @@ QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, Q if(comments!="") t += " <comment:" + QString::number(comments.size()) + ">" + comments; if(name!="") t += " <name:" + QString::number(name.size()) + ">" + name; if(operator_call!="") t+=" <operator:" + QString::number(operator_call.size()) + ">" + operator_call; + if(propmode!="") t += " <prop_mode:" + QString::number(propmode.size()) + ">" + propmode; if (xSent.size ()) { auto words = xSent.split (' ' |
