diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-04-27 12:26:26 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-04-27 12:26:26 +0100 |
| commit | 93f7198f9c2864ef9630cc0cc9e46d6cc1933aa9 (patch) | |
| tree | 74e80fba0ae76af8a4f9d5d1b6c8c8de8e383480 /logbook/logbook.cpp | |
| parent | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (diff) | |
New upstream version 2.7.0~rc4+repackupstream/2.7.0_rc4+repack
Diffstat (limited to 'logbook/logbook.cpp')
| -rwxr-xr-x | logbook/logbook.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logbook/logbook.cpp b/logbook/logbook.cpp index bc825a8f..3132a25a 100755 --- a/logbook/logbook.cpp +++ b/logbook/logbook.cpp @@ -101,7 +101,7 @@ QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, Q t += " <band:" + QString::number(band.size()) + ">" + band;
t += " <freq:" + QString::number(strDialFreq.size()) + ">" + strDialFreq;
t += " <station_callsign:" + QString::number(myCall.size()) + ">" + myCall;
- t += " <my_gridsquare:" + QString::number(myGrid.size()) + ">" + myGrid;
+ if(myGrid!="") t += " <my_gridsquare:" + QString::number(myGrid.size()) + ">" + myGrid;
if(txPower!="") t += " <tx_pwr:" + QString::number(txPower.size()) + ">" + txPower;
if(comments!="") t += " <comment:" + QString::number(comments.size()) + ">" + comments;
if(name!="") t += " <name:" + QString::number(name.size()) + ">" + name;
|
