refs #720, force reload of DB data loads directly from DB

This commit is contained in:
Klaus Basan
2016-08-09 02:00:41 +02:00
committed by Mathew Sutcliffe
parent c5dc61d64f
commit c591fe2517
5 changed files with 5 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ namespace BlackGui
void CDbAircraftIcaoComponent::ps_reload() void CDbAircraftIcaoComponent::ps_reload()
{ {
if (!sGui) { return; } if (!sGui) { return; }
sGui->getWebDataServices()->triggerRead(CEntityFlags::AircraftIcaoEntity, QDateTime()); sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AircraftIcaoEntity, QDateTime());
} }
} // ns } // ns

View File

@@ -58,7 +58,7 @@ namespace BlackGui
void CDbAirlineIcaoComponent::ps_reload() void CDbAirlineIcaoComponent::ps_reload()
{ {
if (!sGui) { return; } if (!sGui) { return; }
sGui->getWebDataServices()->triggerRead(CEntityFlags::AirlineIcaoEntity, QDateTime()); sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AirlineIcaoEntity, QDateTime());
} }
} // ns } // ns
} // ns } // ns

View File

@@ -58,7 +58,7 @@ namespace BlackGui
void CDbCountryComponent::ps_reload() void CDbCountryComponent::ps_reload()
{ {
if (!sGui) { return; } if (!sGui) { return; }
sApp->getWebDataServices()->triggerRead(CEntityFlags::CountryEntity); sApp->getWebDataServices()->triggerReloadFromDb(CEntityFlags::CountryEntity);
} }
} // ns } // ns
} // ns } // ns

View File

@@ -55,7 +55,7 @@ namespace BlackGui
void CDbDistributorComponent::ps_reload() void CDbDistributorComponent::ps_reload()
{ {
if (!sGui) { return; } if (!sGui) { return; }
sGui->getWebDataServices()->triggerRead(CEntityFlags::DistributorEntity); sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::DistributorEntity);
} }
} // ns } // ns
} // ns } // ns

View File

@@ -61,7 +61,7 @@ namespace BlackGui
void CDbLiveryComponent::ps_reload() void CDbLiveryComponent::ps_reload()
{ {
if (!sGui) { return; } if (!sGui) { return; }
sGui->getWebDataServices()->triggerRead(CEntityFlags::LiveryEntity); sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::LiveryEntity);
} }
} // ns } // ns