ProjectExplorer: Remove unused convenience function displayNameFromMap()

Change-Id: I0165b5aa9155065e458d0b53c446dba349fbe6ff
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-01-12 12:05:42 +01:00
parent b759960980
commit adcc3f0b76
2 changed files with 1 additions and 7 deletions

View File

@@ -128,11 +128,6 @@ Core::Id ProjectExplorer::idFromMap(const QVariantMap &map)
return Core::Id::fromSetting(map.value(QLatin1String(CONFIGURATION_ID_KEY))); return Core::Id::fromSetting(map.value(QLatin1String(CONFIGURATION_ID_KEY)));
} }
QString ProjectExplorer::displayNameFromMap(const QVariantMap &map)
{
return map.value(QLatin1String(DISPLAY_NAME_KEY), QString()).toString();
}
bool StatefulProjectConfiguration::isEnabled() const bool StatefulProjectConfiguration::isEnabled() const
{ {
return m_isEnabled; return m_isEnabled;

View File

@@ -112,8 +112,7 @@ private:
bool m_isEnabled = false; bool m_isEnabled = false;
}; };
// helper functions: // helper function:
PROJECTEXPLORER_EXPORT Core::Id idFromMap(const QVariantMap &map); PROJECTEXPLORER_EXPORT Core::Id idFromMap(const QVariantMap &map);
PROJECTEXPLORER_EXPORT QString displayNameFromMap(const QVariantMap &map);
} // namespace ProjectExplorer } // namespace ProjectExplorer