Further remove the number of QDir::cleanPath calls.

Change-Id: I638fe4291d6b682864d0a0c3938ad0066e060a3a
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
hjk
2012-12-19 18:14:28 +01:00
parent c5e44f5589
commit e352654411
2 changed files with 6 additions and 2 deletions

View File

@@ -340,9 +340,10 @@ QStringList Document::includedFiles() const
return files;
}
// This assumes to be called with a QDir::cleanPath cleaned fileName.
void Document::addIncludeFile(const QString &fileName, unsigned line)
{
_includes.append(Include(QDir::cleanPath(fileName), line));
_includes.append(Include(fileName, line));
}
void Document::appendMacro(const Macro &macro)