From 9bb936499d5e386a3439e6e2856acf0caba38bc7 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 29 Jan 2019 16:51:17 +0100 Subject: ProjectExplorer: Collapse BuildInfo hierarchy ... to pass it around as real values, avoiding, among others, the need of occasional explicit deletion. The formerly extra members of the derived stuff are handled via an extra variant (for data) and via a functor in the build configuration factory. The change is mechanical. Change-Id: I19ca4e0c5f0a5b196fc16dfb98bb005dc679f855 Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/buildsettingspropertiespage.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/projectexplorer/buildsettingspropertiespage.h') diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.h b/src/plugins/projectexplorer/buildsettingspropertiespage.h index 0686d2d341..990b43c69c 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.h +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.h @@ -63,7 +63,7 @@ private: void updateActiveConfiguration(); - void createConfiguration(BuildInfo *info); + void createConfiguration(const BuildInfo &info); void cloneConfiguration(); void deleteConfiguration(BuildConfiguration *toDelete); QString uniqueName(const QString &name); @@ -81,7 +81,6 @@ private: QList m_subWidgets; QList m_labels; - QList m_buildInfoList; }; } // namespace Internal -- cgit v1.2.3