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