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:
@@ -93,9 +93,3 @@ bool CMakeProjectNode::renameFile(const QString &filePath, const QString &newFil
|
||||
Q_UNUSED(newFilePath)
|
||||
return false;
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::RunConfiguration *> CMakeProjectNode::runConfigurationsFor(Node *node)
|
||||
{
|
||||
Q_UNUSED(node)
|
||||
return QList<ProjectExplorer::RunConfiguration *>();
|
||||
}
|
||||
|
||||
@@ -55,7 +55,6 @@ public:
|
||||
virtual bool deleteFiles(const QStringList &filePaths);
|
||||
virtual bool renameFile(const QString &filePath,
|
||||
const QString &newFilePath);
|
||||
virtual QList<ProjectExplorer::RunConfiguration *> runConfigurationsFor(Node *node);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user