MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / Q_FOREACH

Function Q_FOREACH

ImagePlay/src/IPPluginManager.cpp:167–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166 if (dir.exists(dirName)) {
167 Q_FOREACH(QFileInfo info, dir.entryInfoList(QDir::NoDotAndDotDot | QDir::System | QDir::Hidden | QDir::AllDirs | QDir::Files, QDir::DirsFirst)) {
168 if (info.isDir()) {
169 result = removeDir(info.absoluteFilePath());
170 }
171 else {
172 result = QFile::remove(info.absoluteFilePath());
173 }
174
175 if (!result) {
176 return result;
177 }
178 }
179 result = dir.rmdir(dirName);
180 }
181

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected