forked from qt-creator/qt-creator
Update run configuration after device change
The run configuration name defaults to "<executable> (on <device>)". When another device is selected e.g. using the MiniProjectTargetSelector or Kits->Device option, the <device> part in run configuration name is not updated and keeps referring to the initially selected device. Change-Id: Idda828b7f33b754d3b50268d7417c9a2790db30e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -144,3 +144,8 @@ Utils::Id ProjectExplorer::idFromMap(const QVariantMap &map)
|
||||
{
|
||||
return Utils::Id::fromSetting(map.value(QLatin1String(CONFIGURATION_ID_KEY)));
|
||||
}
|
||||
|
||||
QString ProjectConfiguration::expandedDisplayName() const
|
||||
{
|
||||
return m_target->macroExpander()->expand(m_displayName.value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user