diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /logbook/logbook.cpp | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'logbook/logbook.cpp')
| -rw-r--r-- | logbook/logbook.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logbook/logbook.cpp b/logbook/logbook.cpp index f074116b..48d6a2a6 100644 --- a/logbook/logbook.cpp +++ b/logbook/logbook.cpp @@ -67,7 +67,7 @@ void LogBook::_setAlreadyWorkedFromLog() void LogBook::match(/*in*/const QString call, /*out*/ QString &countryName, bool &callWorkedBefore, - bool &countryWorkedBefore) + bool &countryWorkedBefore) const { if (call.length() > 0) { @@ -75,6 +75,7 @@ void LogBook::match(/*in*/const QString call, QString currentBand = ""; // match any band callWorkedBefore = _log.match(call,currentBand,currentMode); countryName = _countries.find(call); + if (countryName.length() > 0) // country was found countryWorkedBefore = _worked.getHasWorked(countryName); else |
