forked from qt-creator/qt-creator
ProjectNodes: Refactor runConfigurationsFor()
Rename to runConfigurations() and remove the node argument which is available as 'this'. Adjust const-ness of node argument in RunConfigurationFactory::runConfigurationsForNode Change-Id: Icb63e96a305152f90135a2656536de2581faafaf Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -127,7 +127,7 @@ bool IosRunConfigurationFactory::canHandle(Target *t) const
|
||||
return IosManager::supportsIos(t);
|
||||
}
|
||||
|
||||
QList<RunConfiguration *> IosRunConfigurationFactory::runConfigurationsForNode(Target *t, ProjectExplorer::Node *n)
|
||||
QList<RunConfiguration *> IosRunConfigurationFactory::runConfigurationsForNode(Target *t, const Node *n)
|
||||
{
|
||||
QList<ProjectExplorer::RunConfiguration *> result;
|
||||
foreach (ProjectExplorer::RunConfiguration *rc, t->runConfigurations())
|
||||
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
bool canHandle(ProjectExplorer::Target *t) const QTC_OVERRIDE;
|
||||
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Target *t,
|
||||
ProjectExplorer::Node *n
|
||||
const ProjectExplorer::Node *n
|
||||
) QTC_OVERRIDE;
|
||||
private:
|
||||
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent,
|
||||
|
||||
Reference in New Issue
Block a user