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:
@@ -70,7 +70,7 @@ AutogenStep::AutogenStep(BuildStepList *bsl) : AbstractProcessStep(bsl, AUTOGEN_
|
||||
m_additionalArgumentsAspect->setHistoryCompleter("AutotoolsPM.History.AutogenStepArgs");
|
||||
}
|
||||
|
||||
bool AutogenStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
bool AutogenStep::init()
|
||||
{
|
||||
BuildConfiguration *bc = buildConfiguration();
|
||||
|
||||
@@ -83,7 +83,7 @@ bool AutogenStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
pp->setArguments(m_additionalArgumentsAspect->value());
|
||||
pp->resolveAll();
|
||||
|
||||
return AbstractProcessStep::init(earlierSteps);
|
||||
return AbstractProcessStep::init();
|
||||
}
|
||||
|
||||
void AutogenStep::run(QFutureInterface<bool> &fi)
|
||||
|
||||
Reference in New Issue
Block a user