diff --git a/app/HGProductionTool/form_maininterface.cpp b/app/HGProductionTool/form_maininterface.cpp index b29673e..8e5bbad 100644 --- a/app/HGProductionTool/form_maininterface.cpp +++ b/app/HGProductionTool/form_maininterface.cpp @@ -429,7 +429,10 @@ QString Form_mainInterface::getItemStatusStr(HGUInt status) QString Form_mainInterface::getCachePath() { HGChar cachePath[512]; - HGBase_GetConfigPath(cachePath, 512); + HGBase_GetDocumentsPath(cachePath, 512); + HGChar procName[512]; + HGBase_GetProcessName(procName, 512); + strcat(cachePath, procName); strcat(cachePath, "/Cache/"); return getStdFileName(StdStringToUtf8(cachePath).c_str());