mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T237, init caches from resource files (means the files delivered with swift)
* initFromLocalResourceFiles reads all local DB data * made 2 functions virtual readFromJsonFiles, readFromJsonFilesInBackground
This commit is contained in:
@@ -397,7 +397,7 @@ namespace BlackCore
|
||||
|
||||
CStatusMessageList CIcaoDataReader::readFromJsonFiles(const QString &dir, CEntityFlags::Entity whatToRead)
|
||||
{
|
||||
QDir directory(dir);
|
||||
const QDir directory(dir);
|
||||
if (!directory.exists())
|
||||
{
|
||||
return CStatusMessage(this).error("Missing directory '%1'") << dir;
|
||||
|
||||
Reference in New Issue
Block a user