mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #568, only one IDatastoreObjectList by making the key type a template parameter
This commit is contained in:
@@ -19,7 +19,7 @@ namespace BlackMisc
|
||||
{
|
||||
QString iso(isoCode.trimmed().toUpper());
|
||||
if (!CCountry::isValidIsoCode(iso)) { return CCountry(); }
|
||||
return IDatastoreObjectListWithStringKey::findByKey(isoCode);
|
||||
return IDatastoreObjectList::findByKey(isoCode);
|
||||
}
|
||||
|
||||
CCountry CCountryList::findBestMatchByCountryName(const QString &countryName) const
|
||||
|
||||
Reference in New Issue
Block a user