diff options
| author | Christian Kandeler <christian.kandeler@qt.io> | 2025-06-24 17:02:52 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@qt.io> | 2025-06-25 09:01:38 +0000 |
| commit | d978e950349d3444f86fe2ec12c0226bb0626b14 (patch) | |
| tree | 20aa143be131671f43ee3c96aa610f81a5ae53a3 /src/plugins/python/pythonbuildsystem.cpp | |
| parent | 50c7c73fa3caadadfcc1cedb265762f8b290bd63 (diff) | |
ProjectExplorer: Add convenience overload to TaskHub
Change-Id: I6ad3c6b4b923eaf22458e167554f3b6027e196e2
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonbuildsystem.cpp')
| -rw-r--r-- | src/plugins/python/pythonbuildsystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythonbuildsystem.cpp b/src/plugins/python/pythonbuildsystem.cpp index d060e483c9a..8bb311db931 100644 --- a/src/plugins/python/pythonbuildsystem.cpp +++ b/src/plugins/python/pythonbuildsystem.cpp @@ -369,8 +369,8 @@ void PythonBuildSystem::parse() TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM); for (const PyProjectTomlError &error : std::as_const(pyProjectTomlParseResult.errors)) { - TaskHub::addTask( - BuildSystemTask(Task::TaskType::Error, error.description, filePath, error.line)); + TaskHub::addTask<BuildSystemTask>( + Task::TaskType::Error, error.description, filePath, error.line); } if (!pyProjectTomlParseResult.projectName.isEmpty()) { |
