diff options
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 |
