mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T199, also cache files can be loaded
* unwrap cache JSON object * parameter to control if cache format is allowed
This commit is contained in:
@@ -211,7 +211,7 @@ namespace BlackCore
|
||||
static BlackMisc::Network::CUrl buildDbDataDirectoryUrl(const BlackMisc::Network::CUrl &candidate);
|
||||
|
||||
//! Object initialized by JSON file
|
||||
static CGlobalSetup fromJsonFile(const QString &fileNameAndPath);
|
||||
static CGlobalSetup fromJsonFile(const QString &fileNameAndPath, bool acceptCacheFormat);
|
||||
|
||||
private:
|
||||
bool m_wasLoaded = false; //!< Loaded from web
|
||||
|
||||
Reference in New Issue
Block a user