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:
hjk
2019-01-10 15:31:44 +01:00
parent ca24877c93
commit f007bc7593
54 changed files with 69 additions and 87 deletions

View File

@@ -68,7 +68,7 @@ AutoreconfStep::AutoreconfStep(BuildStepList *bsl) : AbstractProcessStep(bsl, AU
m_additionalArgumentsAspect->setHistoryCompleter("AutotoolsPM.History.AutoreconfStepArgs");
}
bool AutoreconfStep::init(QList<const BuildStep *> &earlierSteps)
bool AutoreconfStep::init()
{
BuildConfiguration *bc = buildConfiguration();
@@ -81,7 +81,7 @@ bool AutoreconfStep::init(QList<const BuildStep *> &earlierSteps)
pp->setArguments(m_additionalArgumentsAspect->value());
pp->resolveAll();
return AbstractProcessStep::init(earlierSteps);
return AbstractProcessStep::init();
}
void AutoreconfStep::run(QFutureInterface<bool> &fi)