修改存图路径到电脑文档路径
This commit is contained in:
parent
ee68af887d
commit
7dbc9eecbe
|
@ -429,7 +429,10 @@ QString Form_mainInterface::getItemStatusStr(HGUInt status)
|
||||||
QString Form_mainInterface::getCachePath()
|
QString Form_mainInterface::getCachePath()
|
||||||
{
|
{
|
||||||
HGChar cachePath[512];
|
HGChar cachePath[512];
|
||||||
HGBase_GetConfigPath(cachePath, 512);
|
HGBase_GetDocumentsPath(cachePath, 512);
|
||||||
|
HGChar procName[512];
|
||||||
|
HGBase_GetProcessName(procName, 512);
|
||||||
|
strcat(cachePath, procName);
|
||||||
strcat(cachePath, "/Cache/");
|
strcat(cachePath, "/Cache/");
|
||||||
|
|
||||||
return getStdFileName(StdStringToUtf8(cachePath).c_str());
|
return getStdFileName(StdStringToUtf8(cachePath).c_str());
|
||||||
|
|
Loading…
Reference in New Issue