mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 07:05:38 +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()
|
void CDbAircraftIcaoComponent::ps_reload()
|
||||||
{
|
{
|
||||||
if (!sGui) { return; }
|
if (!sGui) { return; }
|
||||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::AircraftIcaoEntity, QDateTime());
|
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AircraftIcaoEntity, QDateTime());
|
||||||
}
|
}
|
||||||
|
|
||||||
} // ns
|
} // ns
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user