This commit is contained in:
parent
19e3b06991
commit
5edf4c8532
|
@ -2459,8 +2459,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QDir dir = QDir(Dialog_ClrCache::getCachePath());
|
QString cachePath = Dialog_ClrCache::getCachePath();
|
||||||
if (dir.exists())
|
QDir dir = QDir(cachePath);
|
||||||
|
if (dir.exists() && (cachePath.endsWith("Cache/") || cachePath.endsWith("Cache\\")));
|
||||||
dir.removeRecursively();
|
dir.removeRecursively();
|
||||||
|
|
||||||
m_versionDll->PostUserCloseInfo(HGVERSION_APPNAME_SCANNER);
|
m_versionDll->PostUserCloseInfo(HGVERSION_APPNAME_SCANNER);
|
||||||
|
|
Loading…
Reference in New Issue