summaryrefslogtreecommitdiff
path: root/logbook/logbook.cpp
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-04-27 12:26:36 +0100
committerDave Hibberd <hibby@debian.org>2024-04-27 12:26:36 +0100
commit92bc165d4773fd349c819f0e003141bc6deffd2e (patch)
tree4f85e7df3439fd3460ca8f355266f0e5409497a2 /logbook/logbook.cpp
parentb3177e837e5875f91766ee84ee6a14127509e7fe (diff)
parent93f7198f9c2864ef9630cc0cc9e46d6cc1933aa9 (diff)
Update upstream source from tag 'upstream/2.7.0_rc4+repack'
Update to upstream version '2.7.0~rc4+repack' with Debian dir 44013c61dd790a48f294ea090087c1fb373ab33f
Diffstat (limited to 'logbook/logbook.cpp')
-rwxr-xr-xlogbook/logbook.cpp2
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;