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:
parent
ddfb90a0a1
commit
d91aaa880c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user