mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
refs #506, applied recommended changes for 506 to other filters
https://dev.vatsim-germany.org/issues/506#note-5
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b3c7be8765
commit
59eb0247a7
@@ -29,7 +29,6 @@ namespace BlackGui
|
||||
{
|
||||
if (!this->isValid()) { return inContainer; }
|
||||
CAirlineIcaoCodeList outContainer;
|
||||
bool end = false;
|
||||
for (const CAirlineIcaoCode &icao : inContainer)
|
||||
{
|
||||
if (!m_vDesignator.isEmpty())
|
||||
@@ -58,7 +57,6 @@ namespace BlackGui
|
||||
}
|
||||
|
||||
outContainer.push_back(icao);
|
||||
if (end) { break; }
|
||||
}
|
||||
return outContainer;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace BlackGui
|
||||
if (!m_isoCode.isEmpty())
|
||||
{
|
||||
if (country.getIsoCode() != m_isoCode) { continue; }
|
||||
end = true; // there should me only one designator
|
||||
end = true; // there should be only one designator
|
||||
}
|
||||
|
||||
if (!this->m_name.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user