diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:18:44 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:18:44 +0000 |
| commit | 368f5331a7641772aa7e0cd1feea57d09a394a36 (patch) | |
| tree | b421ac60cc6eb726896ea268ea24e47fc4ce7c88 /logbook/countriesworked.cpp | |
| parent | 71c717edc92fa771c857b3c2e5ed65f523f68f90 (diff) | |
| parent | 37f727ac0746fd85504aa46c1f023c09b3eff33a (diff) | |
Update upstream source from tag 'upstream/1.8.0+repack'
Update to upstream version '1.8.0+repack'
with Debian dir a83ef78cb70a32d1211871fdc08f3ffa295e45a8
Diffstat (limited to 'logbook/countriesworked.cpp')
| -rw-r--r-- | logbook/countriesworked.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logbook/countriesworked.cpp b/logbook/countriesworked.cpp index a70a4e1a..6a991f8a 100644 --- a/logbook/countriesworked.cpp +++ b/logbook/countriesworked.cpp @@ -13,7 +13,7 @@ void CountriesWorked::setAsWorked(const QString countryName) _data.insert(countryName,true); } -bool CountriesWorked::getHasWorked(const QString countryName) +bool CountriesWorked::getHasWorked(const QString countryName) const { if (_data.contains(countryName)) return _data.value(countryName); @@ -21,7 +21,7 @@ bool CountriesWorked::getHasWorked(const QString countryName) return false; } -int CountriesWorked::getWorkedCount() +int CountriesWorked::getWorkedCount() const { int count = 0; foreach (bool value,_data) @@ -30,7 +30,7 @@ int CountriesWorked::getWorkedCount() return count; } -int CountriesWorked::getSize() +int CountriesWorked::getSize() const { return _data.count(); } |
