更新代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "appconfig.h"
|
||||
#include "quihelper.h"
|
||||
#include "qthelper.h"
|
||||
|
||||
QString AppConfig::ConfigFile = "config.ini";
|
||||
int AppConfig::CurrentIndex = 0;
|
||||
@@ -147,7 +147,7 @@ void AppConfig::readConfig()
|
||||
set.endGroup();
|
||||
|
||||
//配置文件不存在或者不全则重新生成
|
||||
if (!QUIHelper::checkIniFile(AppConfig::ConfigFile)) {
|
||||
if (!QtHelper::checkIniFile(AppConfig::ConfigFile)) {
|
||||
writeConfig();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user