FileUtils: Replace FileNameList with an alias

The functionality in that class is covered by initializers and
Utils::unique, so there is no need to keep a custom class.

This way FileNameList plays way nicer with utils/algorithm.h.

Change-Id: I8eeae6aca0558ecd998920c4fdfc5ea56bf75501
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-11-03 13:52:52 +01:00
parent 1bb16ad6b5
commit e1ed5e4804
7 changed files with 14 additions and 47 deletions

View File

@@ -2427,8 +2427,7 @@ FileNameList QmakeProFileNode::subDirsPaths(QtSupport::ProFileReader *reader,
}
}
subProjectPaths.removeDuplicates();
return subProjectPaths;
return Utils::filteredUnique(subProjectPaths);
}
TargetInformation QmakeProFileNode::targetInformation(QtSupport::ProFileReader *reader, QtSupport::ProFileReader *readerBuildPass, const QString &buildDir, const QString &projectFilePath)