forked from qt-creator/qt-creator
More Utils::toSet/toList
... and unrelated cosmetic changes. Change-Id: I591b17fd5289831e701b683f8fb47816efd1fa67 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -82,15 +82,15 @@ static QStringList qtSoPaths(QtSupport::BaseQtVersion *qtVersion)
|
||||
paths.insert(it.fileInfo().absolutePath());
|
||||
}
|
||||
}
|
||||
return paths.toList();
|
||||
return Utils::toList(paths);
|
||||
}
|
||||
|
||||
static QStringList uniquePaths(const QStringList &files)
|
||||
{
|
||||
QSet<QString> paths;
|
||||
foreach (const QString &file, files)
|
||||
paths<<QFileInfo(file).absolutePath();
|
||||
return paths.toList();
|
||||
for (const QString &file : files)
|
||||
paths << QFileInfo(file).absolutePath();
|
||||
return Utils::toList(paths);
|
||||
}
|
||||
|
||||
static QStringList getSoLibSearchPath(const ProjectNode *node)
|
||||
|
||||
Reference in New Issue
Block a user