mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Minor fixes
This commit is contained in:
@@ -62,7 +62,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
void CDbAirlineIcaoComponent::ps_reload()
|
void CDbAirlineIcaoComponent::ps_reload()
|
||||||
{
|
{
|
||||||
if (!sGui) { return; }
|
if (!sGui || !sGui->hasWebDataServices()) { return; }
|
||||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AirlineIcaoEntity, QDateTime());
|
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AirlineIcaoEntity, QDateTime());
|
||||||
}
|
}
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
void CDbCountryComponent::ps_reload()
|
void CDbCountryComponent::ps_reload()
|
||||||
{
|
{
|
||||||
if (!sGui) { return; }
|
if (!sGui || !sGui->getWebDataServices()) { return; }
|
||||||
sApp->getWebDataServices()->triggerReloadFromDb(CEntityFlags::CountryEntity);
|
sApp->getWebDataServices()->triggerReloadFromDb(CEntityFlags::CountryEntity);
|
||||||
}
|
}
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
Reference in New Issue
Block a user