This commit is contained in:
yangjiaxuan 2023-01-10 12:03:02 +08:00
parent 37c2d0693c
commit 5c6aceb694
1 changed files with 2 additions and 3 deletions

View File

@ -2457,12 +2457,11 @@ void MainWindow::closeEvent(QCloseEvent *e)
return;
}
}
}
QDir dir = QDir(Dialog_ClrCache::getCachePath());
dir.removeRecursively();
QMainWindow::closeEvent(e);
if (dir.exists())
dir.removeRecursively();
m_versionDll->PostUserCloseInfo(HGVERSION_APPNAME_SCANNER);
}