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:
@@ -695,7 +695,7 @@ bool DesktopQmakeRunConfigurationFactory::canHandle(Target *t) const
|
||||
return devType == Constants::DESKTOP_DEVICE_TYPE;
|
||||
}
|
||||
|
||||
QList<RunConfiguration *> DesktopQmakeRunConfigurationFactory::runConfigurationsForNode(Target *t, ProjectExplorer::Node *n)
|
||||
QList<RunConfiguration *> DesktopQmakeRunConfigurationFactory::runConfigurationsForNode(Target *t, const Node *n)
|
||||
{
|
||||
QList<RunConfiguration *> result;
|
||||
foreach (RunConfiguration *rc, t->runConfigurations())
|
||||
|
||||
Reference in New Issue
Block a user