ProjectExplorer: Remove BuildTargetInfoList wrapper class

Change-Id: I1a2ae06ec8c5b7278abca2386834d7edd31597d7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-05-03 17:26:49 +02:00
parent f3b6d60a01
commit ce449e4219
13 changed files with 27 additions and 41 deletions

View File

@@ -551,7 +551,7 @@ void PythonProject::refresh(Target *target)
parseProject();
const QDir baseDir(projectDirectory().toString());
BuildTargetInfoList appTargets;
QList<BuildTargetInfo> appTargets;
auto newRoot = std::make_unique<PythonProjectNode>(this);
for (const QString &f : qAsConst(m_files)) {
const QString displayName = baseDir.relativeFilePath(f);
@@ -564,7 +564,7 @@ void PythonProject::refresh(Target *target)
bti.buildKey = f;
bti.targetFilePath = FileName::fromString(f);
bti.projectFilePath = projectFilePath();
appTargets.list.append(bti);
appTargets.append(bti);
}
}
setRootProjectNode(std::move(newRoot));