forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user