ProjectExplorer: Change ProjectConfiguration::toMap signature

To match better with the rest, especially the base AspectContainer.

Change-Id: Ide0966cab3219800aa6b7b9e6012731a3fbe7a6f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2023-07-21 17:44:01 +02:00
parent 1a88508654
commit 53d06feecd
37 changed files with 100 additions and 105 deletions

View File

@@ -74,14 +74,12 @@ QString ProjectConfiguration::toolTip() const
return m_toolTip;
}
QVariantMap ProjectConfiguration::toMap() const
void ProjectConfiguration::toMap(QVariantMap &map) const
{
QTC_CHECK(m_id.isValid());
QVariantMap map;
map.insert(QLatin1String(CONFIGURATION_ID_KEY), m_id.toSetting());
m_displayName.toMap(map, DISPLAY_NAME_KEY);
AspectContainer::toMap(map);
return map;
}
Target *ProjectConfiguration::target() const