Fix displayname of cloned buildstep lists

Task-number: QTCREATORBUG-7023

Change-Id: I1e45c5658f90b4643bfa1216a50e105df482f091
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-03-28 15:45:39 +02:00
parent acb4ebeafa
commit 931cd8a8ec

View File

@@ -79,6 +79,7 @@ BuildStepList::BuildStepList(QObject *parent, BuildStepList *source) :
ProjectConfiguration(parent, source), ProjectConfiguration(parent, source),
m_isNull(source->m_isNull) m_isNull(source->m_isNull)
{ {
setDisplayName(source->displayName());
Q_ASSERT(parent); Q_ASSERT(parent);
// do not clone the steps here: // do not clone the steps here:
// The BC is not fully set up yet and thus some of the buildstepfactories // The BC is not fully set up yet and thus some of the buildstepfactories