forked from qt-creator/qt-creator
ProjectExplorer: Pass id directly to BuildConfigurations
It's what the base class wants, and follows run and deploy precedence. Change-Id: I26eff43337851702417e7e4284fc390b904060f6 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -159,7 +159,7 @@ protected:
|
||||
void registerBuildConfiguration(Core::Id buildConfigId)
|
||||
{
|
||||
setObjectName(buildConfigId.toString() + "BuildConfigurationFactory");
|
||||
m_creator = [](Target *t) { return new BuildConfig(t); };
|
||||
m_creator = [buildConfigId](Target *t) { return new BuildConfig(t, buildConfigId); };
|
||||
m_buildConfigId = buildConfigId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user