This commit is contained in:
hm
2021-06-16 17:27:38 +08:00
parent 2d8c76229d
commit 2c8d32374a
7 changed files with 41 additions and 54 deletions
+1 -16
View File
@@ -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;
}