Commit ed42fb2e authored by Daniel Teske's avatar Daniel Teske

Remove never called removeUnconfiguredCustomExectutableRunConfigurations

Change-Id: Ieb8bb1ec3ad9a4a68ae1c95fe1b3effff386c605
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent aceffa65
......@@ -56,18 +56,4 @@ QmakeRunConfigurationFactory *QmakeRunConfigurationFactory::find(ProjectExplorer
return 0;
}
void QmakeRunConfigurationFactory::removeUnconfiguredCustomExectutableRunConfigurations(ProjectExplorer::Target *t)
{
QList<ProjectExplorer::RunConfiguration*> toRemove;
// Remove all run configurations which the new project wizard created
foreach (ProjectExplorer::RunConfiguration * rc, t->runConfigurations()) {
QtSupport::CustomExecutableRunConfiguration *cerc
= qobject_cast<QtSupport::CustomExecutableRunConfiguration *>(rc);
if (cerc && !cerc->isConfigured())
toRemove.append(rc);
}
foreach (ProjectExplorer::RunConfiguration *rc, toRemove)
t->removeRunConfiguration(rc);
}
} // namespace Qt4ProjectManager
......@@ -53,9 +53,6 @@ public:
ProjectExplorer::Node *n) = 0;
static QmakeRunConfigurationFactory *find(ProjectExplorer::Target *t);
protected:
void removeUnconfiguredCustomExectutableRunConfigurations(ProjectExplorer::Target *t);
};
} // Qt4ProjectManager
......
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