From 981a98f34f81b9fa243e05d7c6da42ef4afd3c2c Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 17 May 2018 15:42:38 +0200 Subject: Make step is always called "Make" So provide it through the base class, also for the factories. Change-Id: Ie4a6113b785ec6c0ddde694ec0bcd11a26331c39 Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/makestep.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/projectexplorer/makestep.cpp') diff --git a/src/plugins/projectexplorer/makestep.cpp b/src/plugins/projectexplorer/makestep.cpp index 70853ac8f2..82b36f0127 100644 --- a/src/plugins/projectexplorer/makestep.cpp +++ b/src/plugins/projectexplorer/makestep.cpp @@ -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; -- cgit v1.2.1