summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/makestep.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-05-17 15:42:38 +0200
committerEike Ziller <eike.ziller@qt.io>2018-05-22 13:45:27 +0000
commit981a98f34f81b9fa243e05d7c6da42ef4afd3c2c (patch)
tree686f2f6c108e5f1a64ff7c8f8493bacb107c86f5 /src/plugins/projectexplorer/makestep.cpp
parent58bd043e2722e7670008fb180faf982294221d4c (diff)
downloadqt-creator-981a98f34f81b9fa243e05d7c6da42ef4afd3c2c.tar.gz
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>
Diffstat (limited to 'src/plugins/projectexplorer/makestep.cpp')
-rw-r--r--src/plugins/projectexplorer/makestep.cpp6
1 files changed, 6 insertions, 0 deletions
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;