diff --git a/SandboxiePlus/SandMan/BoxMonitor.cpp b/SandboxiePlus/SandMan/BoxMonitor.cpp index 12ffa5b2..245e975c 100644 --- a/SandboxiePlus/SandMan/BoxMonitor.cpp +++ b/SandboxiePlus/SandMan/BoxMonitor.cpp @@ -26,7 +26,7 @@ quint64 CBoxMonitor::CounDirSize(const QString& Directory, SBox* Box) return TotalSize; QDir Dir(Directory); - foreach(const QFileInfo & Info, Dir.entryInfoList(QDir::Files | QDir::Dirs | QDir::NoDotAndDotDot)) + foreach(const QFileInfo & Info, Dir.entryInfoList(QDir::Files | QDir::Dirs | QDir::Hidden | QDir::NoDotAndDotDot)) { if (Info.isDir()) TotalSize += CounDirSize(Info.filePath(), Box); @@ -186,4 +186,4 @@ void CBoxMonitor::Stop() } m_bTerminate = false; -} \ No newline at end of file +}