aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonproject.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2024-07-15 16:34:49 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2024-07-16 10:34:12 +0000
commitcebaab596dc523c64490b565e3bec041d924938f (patch)
tree6252d6566e217bd426ea5382c6d3cb26b95b9d43 /src/plugins/python/pythonproject.cpp
parentd4776e64012971ee55e3b89d2216ce3289d95065 (diff)
ProjectManager: Simplify Project::setBuildSystemCreator()
Make it a template method. Change-Id: I3f0510c89d7f0bfe2f814dadc4d8de01c0e1cc89 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r--src/plugins/python/pythonproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp
index ed81e8cc8bb..93c3b477816 100644
--- a/src/plugins/python/pythonproject.cpp
+++ b/src/plugins/python/pythonproject.cpp
@@ -26,7 +26,7 @@ PythonProject::PythonProject(const FilePath &fileName)
setProjectLanguages(Context(ProjectExplorer::Constants::PYTHON_LANGUAGE_ID));
setDisplayName(fileName.completeBaseName());
- setBuildSystemCreator([](Target *t) { return new PythonBuildSystem(t); });
+ setBuildSystemCreator<PythonBuildSystem>();
}
Tasks PythonProject::projectIssues(const Kit *k) const