mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #720, force reload of DB data loads directly from DB
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c5dc61d64f
commit
c591fe2517
@@ -65,7 +65,7 @@ namespace BlackGui
|
||||
void CDbAircraftIcaoComponent::ps_reload()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::AircraftIcaoEntity, QDateTime());
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AircraftIcaoEntity, QDateTime());
|
||||
}
|
||||
|
||||
} // ns
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace BlackGui
|
||||
void CDbAirlineIcaoComponent::ps_reload()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::AirlineIcaoEntity, QDateTime());
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AirlineIcaoEntity, QDateTime());
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace BlackGui
|
||||
void CDbCountryComponent::ps_reload()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
sApp->getWebDataServices()->triggerRead(CEntityFlags::CountryEntity);
|
||||
sApp->getWebDataServices()->triggerReloadFromDb(CEntityFlags::CountryEntity);
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace BlackGui
|
||||
void CDbDistributorComponent::ps_reload()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::DistributorEntity);
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::DistributorEntity);
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BlackGui
|
||||
void CDbLiveryComponent::ps_reload()
|
||||
{
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::LiveryEntity);
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::LiveryEntity);
|
||||
}
|
||||
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user