forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user