From 3932df90f879000ee1c3312bbbbc9ee776459ee7 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sun, 17 Nov 2013 21:52:02 +0100 Subject: [PATCH] Properly clean-up hidden files. --- src/Global_Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Global_Utils.cpp b/src/Global_Utils.cpp index 970e1cbc..499f9149 100644 --- a/src/Global_Utils.cpp +++ b/src/Global_Utils.cpp @@ -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++) {