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:
@@ -294,7 +294,7 @@ void CMakeProject::updateProjectData(CMakeBuildConfiguration *bc)
|
||||
{
|
||||
CMakeConfigItem paths;
|
||||
paths.key = "ANDROID_SO_LIBS_PATHS";
|
||||
paths.values = res.toList();
|
||||
paths.values = Utils::toList(res);
|
||||
patchedConfig.append(paths);
|
||||
}
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@ void TeaLeafReader::generateProjectTree(CMakeProjectNode *root, const QList<cons
|
||||
= Utils::filtered(bt.includeFiles, [this](const Utils::FilePath &fn) {
|
||||
return fn.isChildOf(m_parameters.sourceDirectory);
|
||||
});
|
||||
allIncludePathSet.unite(QSet<FilePath>::fromList(targetIncludePaths));
|
||||
allIncludePathSet.unite(Utils::toSet(targetIncludePaths));
|
||||
}
|
||||
const QList<FilePath> allIncludePaths = allIncludePathSet.toList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user