From d0851754723f3980a80aa92a134913efaaac8f7d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 26 Sep 2018 10:00:21 -0400 Subject: [PATCH] Test grid4 (not grid6) for matches in the ADIF log. --- logbook/adif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logbook/adif.cpp b/logbook/adif.cpp index 395421931..d4878d5d7 100644 --- a/logbook/adif.cpp +++ b/logbook/adif.cpp @@ -115,7 +115,7 @@ void ADIF::add(QString const& call, QString const& grid, QString const& band, { QSO q; q.call = call; - q.grid = grid; + q.grid = grid.left(4); //We only want to test matches to 4-character grids. q.band = band; q.mode = mode; q.date = date;