forked from qt-creator/qt-creator
Further remove the number of QDir::cleanPath calls.
Change-Id: I638fe4291d6b682864d0a0c3938ad0066e060a3a Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -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 ¯o)
|
||||
|
||||
Reference in New Issue
Block a user