BIG deep clean
This commit is contained in:
@@ -8,7 +8,6 @@ PIVector<ParserSection> parse(const PIString & path) {
|
||||
if (!f.open(path, PIIODevice::ReadOnly))
|
||||
return ret;
|
||||
PIString ext = f.fileInfo().extension().toLowerCase();
|
||||
//PIString fc = PIString::fromUTF8(f.readAll());
|
||||
PIString dir = PIDir(f.fileInfo().dir()).absolutePath() + "/";
|
||||
//piCout << dir;
|
||||
if (ext == "conf") return parseConf(f, dir);
|
||||
@@ -19,7 +18,6 @@ PIVector<ParserSection> parse(const PIString & path) {
|
||||
|
||||
ParserEntry makeEntry(PIString filename, const PIString & dir) {
|
||||
ParserEntry ret;
|
||||
//ret.alias = PIFile::fileInfo(filename).name();
|
||||
ret.path = filename;
|
||||
if (!PIDir(PIFile::fileInfo(filename).dir()).isAbsolute()) {
|
||||
//piCout << "rel, add dir";
|
||||
|
||||
Reference in New Issue
Block a user