Fixed reload all DB data issue reported by MS on slack

* use triggerReloadFromDb
* improved documentation

MS report:
`AllDbEntities` should be `AllDbEntitiesNoInfoObjects` in `CDataInfoAreaComponent::requestUpdateOfAllDbData`?
Otherwise it triggers assert `!whatToRead.testFlag(CEntityFlags::InfoObjectEntity)` in `CWebDataServices::triggerRead`.
This commit is contained in:
Klaus Basan
2016-10-27 02:03:10 +02:00
parent 1678ca8919
commit c57a9e2e5b
3 changed files with 23 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ namespace BlackGui
void CDataInfoAreaComponent::requestUpdateOfAllDbData()
{
sGui->getWebDataServices()->triggerRead(CEntityFlags::AllDbEntities, QDateTime());
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AllDbEntitiesNoInfoObjectsNoAirports, QDateTime());
}
void CDataInfoAreaComponent::requestUpdatedData(CEntityFlags::Entity entity)