backup
This commit is contained in:
+1
-16
@@ -4,7 +4,7 @@
|
||||
Config::Config(QObject *parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
qDebug() << "Config Operation";
|
||||
qInfo() << "Config Operation";
|
||||
|
||||
QDir *Dir = new QDir;
|
||||
if(!Dir->exists("./Config"))
|
||||
@@ -50,21 +50,6 @@ void Config::loadJson(const QString& jsonFilename)
|
||||
}
|
||||
|
||||
ConfigJson = doc.object();
|
||||
|
||||
/*
|
||||
QJsonObject json = doc.object();
|
||||
|
||||
QJsonValue jsonValue = json.value("config");
|
||||
|
||||
if(jsonValue.isObject())
|
||||
{
|
||||
ConfigJson = jsonValue.toObject();
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
//qDebug() << ConfigJson;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user