From ce449e4219e720469bbaae0cf29dd72f2eef1383 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 3 May 2019 17:26:49 +0200 Subject: ProjectExplorer: Remove BuildTargetInfoList wrapper class Change-Id: I1a2ae06ec8c5b7278abca2386834d7edd31597d7 Reviewed-by: Christian Kandeler --- src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp') diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index f801f4cfe8..1448546cbd 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -551,7 +551,7 @@ void PythonProject::refresh(Target *target) parseProject(); const QDir baseDir(projectDirectory().toString()); - BuildTargetInfoList appTargets; + QList appTargets; auto newRoot = std::make_unique(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)); -- cgit v1.2.1