mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
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:
committed by
Mathew Sutcliffe
parent
2387edb5a0
commit
f694ded5f2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user