Commit e8dcccbb authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix possible crash in BuildStepsPage

Task-number: QTCREATORBUG-4894
Reviewed-by: Fawzi Mohamed
parent 32bc1c15
......@@ -93,6 +93,12 @@ void BuildStepListWidget::init(BuildStepList *bsl)
if (m_buildStepList) {
disconnect(m_buildStepList, SIGNAL(stepInserted(int)), this, SLOT(addBuildStep(int)));
disconnect(m_buildStepList, SIGNAL(stepRemoved(int)), this, SLOT(removeBuildStep(int)));
disconnect(m_buildStepList, SIGNAL(stepMoved(int,int)), this, SLOT(stepMoved(int,int)));
connect(bsl, SIGNAL(stepInserted(int)), this, SLOT(addBuildStep(int)));
connect(bsl, SIGNAL(stepRemoved(int)), this, SLOT(removeBuildStep(int)));
connect(bsl, SIGNAL(stepMoved(int,int)), this, SLOT(stepMoved(int,int)));
Supports Markdown
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