Properly clean-up hidden files.
This commit is contained in:
parent
1903247e35
commit
3932df90f8
@ -434,7 +434,7 @@ bool lamexp_clean_folder(const QString &folderPath)
|
|||||||
QDir tempFolder(folderPath);
|
QDir tempFolder(folderPath);
|
||||||
if(tempFolder.exists())
|
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++)
|
for(int i = 0; i < entryList.count(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user