mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 17:55:34 +08:00
refs #720, adjusted exposed functions to new naming
* some minor formatting * use the new condolidation functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d9a35563e3
commit
1167735897
@@ -185,7 +185,7 @@ namespace BlackGui
|
||||
if (!code.hasCompleteData()) { return; }
|
||||
if (!code.hasValidDbKey()) { return; }
|
||||
|
||||
const CLivery stdLivery(sGui->getWebDataServices()->getLiveries().findStdLiveryByAirlineIcaoDesignator(code));
|
||||
const CLivery stdLivery(sGui->getWebDataServices()->getLiveries().findStdLiveryByAirlineIcaoVDesignator(code));
|
||||
if (stdLivery.hasValidDbKey())
|
||||
{
|
||||
this->setValue(stdLivery);
|
||||
|
||||
Reference in New Issue
Block a user