ProjectExplorer: Remove 4.11 compatibility code in buildsteplist

Change-Id: Id0e65f17dcd4697e3c4d1f828a564b495e114ee4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2023-06-01 17:51:16 +02:00
parent 5986270232
commit c8e1333f89

View File

@@ -43,16 +43,6 @@ QVariantMap BuildStepList::toMap() const
{
QVariantMap map;
{
// Only written for compatibility reasons within the 4.11 cycle
const char CONFIGURATION_ID_KEY[] = "ProjectExplorer.ProjectConfiguration.Id";
const char DISPLAY_NAME_KEY[] = "ProjectExplorer.ProjectConfiguration.DisplayName";
const char DEFAULT_DISPLAY_NAME_KEY[] = "ProjectExplorer.ProjectConfiguration.DefaultDisplayName";
map.insert(QLatin1String(CONFIGURATION_ID_KEY), m_id.toSetting());
map.insert(QLatin1String(DISPLAY_NAME_KEY), displayName());
map.insert(QLatin1String(DEFAULT_DISPLAY_NAME_KEY), displayName());
}
// Save build steps
map.insert(QString::fromLatin1(STEPS_COUNT_KEY), m_steps.count());
for (int i = 0; i < m_steps.count(); ++i)