mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
Data目录里生成日期文件夹时由于使用的是mkdir指令 不能在没有父目录的情况下正确创建文件夹。已经将mkdir替换为mkpath指令,以解决此问题。
This commit is contained in:
@ -63,7 +63,7 @@ void DataFileProcessor::GenerateFilePath()
|
|||||||
QDir qdirPath(qstrTemp);
|
QDir qdirPath(qstrTemp);
|
||||||
if (!qdirPath.exists())
|
if (!qdirPath.exists())
|
||||||
{
|
{
|
||||||
bool bRes = qdirPath.mkdir(qstrTemp);
|
bool bRes = qdirPath.mkpath(qstrTemp);//20220812 mkdir change to mkpath
|
||||||
if (!bRes)
|
if (!bRes)
|
||||||
{
|
{
|
||||||
qDebug() << "DataFileProcessor mkdir Failed.";
|
qDebug() << "DataFileProcessor mkdir Failed.";
|
||||||
|
Reference in New Issue
Block a user