forked from qt-creator/qt-creator
Consistently use Utils::FileNameList
Consistently use Utils::FileNameList in favor of QList<Utils::FileName> Change-Id: Iafbb466c882bfd91c25c9e78f107d401bfdb6d55 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -65,9 +65,7 @@ int distance(const QString &targetDirectory, const FileName &fileName)
|
||||
void CMakeCbpParser::sortFiles()
|
||||
{
|
||||
QLoggingCategory log("qtc.cmakeprojectmanager.filetargetmapping");
|
||||
QList<FileName> fileNames = Utils::transform(m_fileList, [] (FileNode *node) {
|
||||
return node->filePath();
|
||||
});
|
||||
FileNameList fileNames = Utils::transform(m_fileList, &FileNode::filePath);
|
||||
|
||||
Utils::sort(fileNames);
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ static void readAndDeleteLegacyCMakeSettings ()
|
||||
|
||||
static QList<CMakeTool *> autoDetectCMakeTools()
|
||||
{
|
||||
QList<FileName> suspects;
|
||||
FileNameList suspects;
|
||||
|
||||
Utils::Environment env = Environment::systemEnvironment();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user