解决设置界面读取不到配置方案
This commit is contained in:
parent
9beebde6d7
commit
15fcd5b22a
|
@ -31,7 +31,9 @@ QString config::get_scanner_config_file(void)
|
|||
|
||||
if(file.length() == 0)
|
||||
{
|
||||
file = "scanner.schm";
|
||||
HGChar logpath[512] = {0};
|
||||
HGBase_GetConfigPath(logpath, 512);
|
||||
file = strcat(logpath, "scanner.schm");
|
||||
ini_->setValue("schemes", file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue