Commit 25bb6712 authored by Daniel Teske's avatar Daniel Teske Committed by Daniel Teske
Browse files

BuildConfiguration::cloneSteps Add self clone check



Change-Id: I5ac2e6346b9a0e18fb3ea115f5ebd723e06e512f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 75b090e6
......@@ -250,6 +250,8 @@ void BuildConfiguration::setUserEnvironmentChanges(const QList<Utils::Environmen
void BuildConfiguration::cloneSteps(BuildConfiguration *source)
{
if (source == this)
return;
qDeleteAll(m_stepLists);
m_stepLists.clear();
foreach (BuildStepList *bsl, source->m_stepLists) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment