forked from qt-creator/qt-creator
ProjectExplorer: Simplify BuildStep::init() signature
The extra parameter was always computed but used only in one place, and that use got removed lately. Change-Id: Ie10c0107ca70ee97ce03f83294992aab8d1a3ffe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -116,13 +116,13 @@ NimCompilerBuildStep::NimCompilerBuildStep(BuildStepList *parentList)
|
||||
updateProcessParameters();
|
||||
}
|
||||
|
||||
bool NimCompilerBuildStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
bool NimCompilerBuildStep::init()
|
||||
{
|
||||
setOutputParser(new NimParser());
|
||||
if (IOutputParser *parser = target()->kit()->createOutputParser())
|
||||
appendOutputParser(parser);
|
||||
outputParser()->setWorkingDirectory(processParameters()->effectiveWorkingDirectory());
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
return AbstractProcessStep::init();
|
||||
}
|
||||
|
||||
BuildStepConfigWidget *NimCompilerBuildStep::createConfigWidget()
|
||||
|
||||
Reference in New Issue
Block a user