MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / insertWatchPath

Method insertWatchPath

src/lemon.cpp:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void LemonLime::insertWatchPath(const QString &curDir, QFileSystemWatcher *watcher) {
167 watcher->addPath(curDir);
168 QDir dir(curDir);
169 QStringList list = dir.entryList(QDir::AllDirs | QDir::NoDotAndDotDot);
170
171 for (int i = 0; i < list.size(); i++) {
172 insertWatchPath(curDir + list[i] + QDir::separator(), watcher);
173 }
174}
175
176void LemonLime::resetDataWatcher() {
177 delete dataDirWatcher;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected