ProjectExplorer: Don't use QObject parents for ProjectConfigurations

... for ownership.

It was not really used anymore, the target manually deletes
build/run/deploy configurations, steplist their steps and
steplists themselves are proper members in build/deploy config.

Change-Id: I8addd1db0700342629fdab004ab42aa64291e93a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2023-07-27 17:21:11 +02:00
committed by Christian Kandeler
parent 0717a76803
commit 7a2d4ed080
7 changed files with 7 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ const char STEPS_COUNT_KEY[] = "ProjectExplorer.BuildStepList.StepsCount";
const char STEPS_PREFIX[] = "ProjectExplorer.BuildStepList.Step.";
BuildStepList::BuildStepList(ProjectConfiguration *config, Utils::Id id)
: QObject(config), m_projectConfiguration(config), m_id(id)
: m_projectConfiguration(config), m_id(id)
{
QTC_CHECK(config);
}