Make step is always called "Make"

So provide it through the base class, also for the factories.

Change-Id: Ie4a6113b785ec6c0ddde694ec0bcd11a26331c39
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2018-05-17 15:42:38 +02:00
parent 58bd043e27
commit 981a98f34f
4 changed files with 11 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ MakeStep::MakeStep(BuildStepList *parent,
: AbstractProcessStep(parent, id),
m_availableTargets(availableTargets)
{
setDefaultDisplayName(defaultDisplayName());
if (!buildTarget.isEmpty())
setBuildTarget(buildTarget, true);
}
@@ -68,6 +69,11 @@ bool MakeStep::isClean() const
return m_clean;
}
QString MakeStep::defaultDisplayName()
{
return tr("Make");
}
void MakeStep::setMakeCommand(const QString &command)
{
m_makeCommand = command;