summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonproject.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-03-18 07:09:59 +0100
committerDavid Schulz <david.schulz@qt.io>2022-03-23 13:56:56 +0000
commit62eb36e7ec9fe2c64576c76691bc8b948e95c755 (patch)
treef02406ff31d30c242577a7aa47836c2a6af4c49f /src/plugins/python/pythonproject.cpp
parentd70150818f27c5d4a375247f8d054163ff9b21cc (diff)
downloadqt-creator-62eb36e7ec9fe2c64576c76691bc8b948e95c755.tar.gz
Python: Use relative file path as run config name
Change-Id: Ifac28b9e4b066ea62b43a7da04b71e2c4317a898 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r--src/plugins/python/pythonproject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp
index c373b08ac1..69f3b52a0a 100644
--- a/src/plugins/python/pythonproject.cpp
+++ b/src/plugins/python/pythonproject.cpp
@@ -257,6 +257,7 @@ void PythonBuildSystem::triggerParsing()
newRoot->addNestedNode(std::make_unique<PythonFileNode>(filePath, displayName, fileType));
if (fileType == FileType::Source) {
BuildTargetInfo bti;
+ bti.displayName = displayName;
bti.buildKey = f;
bti.targetFilePath = filePath;
bti.projectFilePath = projectFilePath();