Preparation of T126: Minor tweaks, renaming and formatting of InfoDataReader

* unified member access (this->m_xy => m_xy)
* set object name of readers
* waitForSharedInfoObjectsThenRead (not just waiting, also reading afterwards)
This commit is contained in:
Klaus Basan
2017-08-11 18:01:10 +02:00
committed by Mathew Sutcliffe
parent 2387edb5a0
commit f694ded5f2
3 changed files with 137 additions and 155 deletions

View File

@@ -127,9 +127,9 @@ namespace BlackCore
// get all or incremental set
const CDbInfoList infoObjects = CDbInfoList::fromDatabaseJson(res.getJsonArray());
const int n = infoObjects.size();
// this part needs to be synchronized
const int n = infoObjects.size();
{
QWriteLocker wl(&this->m_lockInfoObjects);
this->m_infoObjects = infoObjects;