Commit 40bfe137 authored by con's avatar con
Browse files

Remove some duplicate connects.

parent f52e1887
...@@ -154,11 +154,6 @@ MiniTargetWidget::MiniTargetWidget(Target *target, QWidget *parent) : ...@@ -154,11 +154,6 @@ MiniTargetWidget::MiniTargetWidget(Target *target, QWidget *parent) :
Q_FOREACH(RunConfiguration* rc, m_target->runConfigurations()) Q_FOREACH(RunConfiguration* rc, m_target->runConfigurations())
addRunConfiguration(rc); addRunConfiguration(rc);
connect(m_target, SIGNAL(addedBuildConfiguration(ProjectExplorer::BuildConfiguration*)),
SLOT(addBuildConfiguration(ProjectExplorer::BuildConfiguration*)));
connect(m_target, SIGNAL(removedBuildConfiguration(ProjectExplorer::BuildConfiguration*)),
SLOT(addBuildConfiguration(ProjectExplorer::BuildConfiguration*)));
connect(m_target, SIGNAL(addedRunConfiguration(ProjectExplorer::RunConfiguration*)), connect(m_target, SIGNAL(addedRunConfiguration(ProjectExplorer::RunConfiguration*)),
SLOT(addRunConfiguration(ProjectExplorer::RunConfiguration*))); SLOT(addRunConfiguration(ProjectExplorer::RunConfiguration*)));
connect(m_target, SIGNAL(removedRunConfiguration(ProjectExplorer::RunConfiguration*)), connect(m_target, SIGNAL(removedRunConfiguration(ProjectExplorer::RunConfiguration*)),
...@@ -166,8 +161,6 @@ MiniTargetWidget::MiniTargetWidget(Target *target, QWidget *parent) : ...@@ -166,8 +161,6 @@ MiniTargetWidget::MiniTargetWidget(Target *target, QWidget *parent) :
connect(m_runComboBox, SIGNAL(currentIndexChanged(int)), SLOT(setActiveRunConfiguration(int))); connect(m_runComboBox, SIGNAL(currentIndexChanged(int)), SLOT(setActiveRunConfiguration(int)));
connect(m_target, SIGNAL(activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration*)),
SLOT(setActiveBuildConfiguration()));
connect(m_target, SIGNAL(activeRunConfigurationChanged(ProjectExplorer::RunConfiguration*)), connect(m_target, SIGNAL(activeRunConfigurationChanged(ProjectExplorer::RunConfiguration*)),
SLOT(setActiveRunConfiguration())); SLOT(setActiveRunConfiguration()));
......
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