PITimer important fix! ASCII-art start ...
git-svn-id: svn://db.shs.com.ru/pip@94 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -120,13 +120,17 @@ void showInfo(const PIString & t) {
|
||||
void removeFiles(const PIDir & dir, PIStringList l) {
|
||||
l.removeOne("..");
|
||||
PIString ap = dir.absolutePath();
|
||||
//piCout << "remove from" << ap;
|
||||
piForeachC (PIString & s, l) {
|
||||
PIFile::FileInfo fi = PIFile::fileInfo(ap + PIDir::separator + s);
|
||||
if (fi.isDir()) {
|
||||
PIVector<PIFile::FileInfo> el = PIDir::allEntries(fi.path);
|
||||
piForeachCR (PIFile::FileInfo & e, el)
|
||||
piForeachCR (PIFile::FileInfo & e, el) {
|
||||
//piCout << "remove" << e.path;
|
||||
PIFile::remove(e.path);
|
||||
}
|
||||
}
|
||||
//piCout << "remove" << fi.path;
|
||||
PIFile::remove(fi.path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user