forked from qt-creator/qt-creator
ProjectExplorer: Fix copying of RunConfigurationAspects
Moving aspect data closer to real Value semantics fixes
the regression introduced by 890c1906e.
Task-number: QTCREATORBUG-19186
Task-number: QTCREATORBUG-19192
Change-Id: Ieaeef3995ae06a817f266c1e2514f9e5793bd4e8
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -144,21 +144,7 @@ void QbsRunConfiguration::initialize(Core::Id id)
|
||||
{
|
||||
RunConfiguration::initialize(id);
|
||||
m_uniqueProductName = uniqueProductNameFromId(id);
|
||||
ctor();
|
||||
}
|
||||
|
||||
void QbsRunConfiguration::copyFrom(const QbsRunConfiguration *source)
|
||||
{
|
||||
RunConfiguration::copyFrom(source);
|
||||
m_uniqueProductName = source->m_uniqueProductName;
|
||||
m_currentInstallStep = nullptr; // no need to copy this, we will get if from the DC anyway.
|
||||
m_currentBuildStepList = nullptr; // ditto
|
||||
|
||||
ctor();
|
||||
}
|
||||
|
||||
void QbsRunConfiguration::ctor()
|
||||
{
|
||||
setDefaultDisplayName(defaultDisplayName());
|
||||
installStepChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user