Commit 0d648636 authored by dt's avatar dt
Browse files

The code never did anything anyway, also the disconnect is not necessary

Since the runconfiguration gets deleted anyway.
parent f383e27c
......@@ -361,18 +361,6 @@ void RunConfigurationComboBox::addedRunConfiguration(ProjectExplorer::Project *p
void RunConfigurationComboBox::removedRunConfiguration(ProjectExplorer::Project *p, const QString &name)
{
RunConfiguration *runConfiguration = 0;
foreach(RunConfiguration *rc, p->runConfigurations()) {
if (rc->name() == name) {
runConfiguration = rc;
break;
}
}
if (runConfiguration) {
disconnect(runConfiguration, SIGNAL(nameChanged()),
this, SLOT(rebuildTree()));
}
rebuildTree();
}
......
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