From 37f727ac0746fd85504aa46c1f023c09b3eff33a Mon Sep 17 00:00:00 2001 From: hibby Date: Fri, 16 Feb 2018 15:17:14 +0000 Subject: New upstream version 1.8.0+repack --- logbook/countriesworked.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logbook/countriesworked.cpp') 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(); } -- cgit v1.2.3