diff options
author | hjk <hjk@qt.io> | 2019-05-03 17:26:49 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-14 13:30:34 +0000 |
commit | ce449e4219e720469bbaae0cf29dd72f2eef1383 (patch) | |
tree | 8ea6a644db51f90a4eef4c5c1fb0b6e95dcdb5fc /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | f3b6d60a01a0c0df2349c297be1ab1e637f1a7ca (diff) | |
download | qt-creator-ce449e4219e720469bbaae0cf29dd72f2eef1383.tar.gz |
ProjectExplorer: Remove BuildTargetInfoList wrapper class
Change-Id: I1a2ae06ec8c5b7278abca2386834d7edd31597d7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<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)); |