Properly clean-up hidden files.

This commit is contained in:
LoRd_MuldeR 2013-11-17 21:52:02 +01:00
parent 1903247e35
commit 3932df90f8

View File

@ -434,7 +434,7 @@ bool lamexp_clean_folder(const QString &folderPath)
QDir tempFolder(folderPath);
if(tempFolder.exists())
{
QFileInfoList entryList = tempFolder.entryInfoList(QDir::AllEntries | QDir::NoDotAndDotDot);
QFileInfoList entryList = tempFolder.entryInfoList(QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden);
for(int i = 0; i < entryList.count(); i++)
{