Ref T367, info objects are also read, as the files are small and sApp->isInternetAccessible() is not fully reliable (Qt Accessibility bug)

This commit is contained in:
Klaus Basan
2018-09-22 01:10:58 +02:00
parent 7ae7d04548
commit 4dcb2185b4
2 changed files with 18 additions and 27 deletions

View File

@@ -179,6 +179,11 @@ namespace BlackCore
const CDbInfoList infoObjects = CDbInfoList::fromDatabaseJson(res.getJsonArray());
const int n = infoObjects.size();
// Service URL => DB data
// DB data directory => shared files
const QString urlStr = nwReply->url().toString();
Q_UNUSED(urlStr); // debug only
// this part needs to be synchronized
{
QWriteLocker wl(&m_lockInfoObjects);