mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Ref T129, utility function to check airline ICAO against swift DB
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a070e0e215
commit
f95a0b60cc
@@ -256,5 +256,11 @@ namespace BlackMisc
|
||||
if (sort) { c.sort(); }
|
||||
return c;
|
||||
}
|
||||
|
||||
bool CAirlineIcaoCodeList::containsDesignator(const QString &designator) const
|
||||
{
|
||||
if (designator.isEmpty()) { return false; }
|
||||
return this->contains(&CAirlineIcaoCode::getDesignator, designator.toUpper());
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user