1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-19 04:50:16 +01:00

Make the library watcher pick up hidden files too.

This commit is contained in:
David Sansome 2011-03-23 16:50:19 +00:00
parent ddfb90a0a1
commit d91aaa880c

View File

@ -249,7 +249,7 @@ void LibraryWatcher::ScanSubdirectory(
// First we "quickly" get a list of the files in the directory that we
// think might be music. While we're here, we also look for new subdirectories
// and possible album artwork.
QDirIterator it(path, QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot);
QDirIterator it(path, QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot | QDir::Hidden);
while (it.hasNext()) {
if (stop_requested_) return;