MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / addPathRecursive

Method addPathRecursive

src/utils/filewatcher.cpp:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void fileWatcher::addPathRecursive(QString path)
24{
25 addPath(path);
26 if(recursiveScanDirs) {
27 QDirIterator it(path, QDir::Dirs | QDir::NoSymLinks | QDir::NoDotAndDotDot, QDirIterator::Subdirectories);
28
29 while (it.hasNext()) {
30 it.next();
31 QString f(it.filePath());
32 if(!f.endsWith("cache")) {
33 addPath(f);
34 }
35 }
36 }
37}

Callers 1

slotDirChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected