forked from qt-creator/qt-creator
Consolidate build/deploystep default display name handling
Use the display name from the factory as default, override if needed. Change-Id: I03519c998432fea4120b0de8b2fc2686644635f2 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -93,8 +93,6 @@ class NimParser : public ProjectExplorer::OutputTaskParser
|
||||
NimCompilerBuildStep::NimCompilerBuildStep(BuildStepList *parentList, Utils::Id id)
|
||||
: AbstractProcessStep(parentList, id)
|
||||
{
|
||||
setDefaultDisplayName(tr(Constants::C_NIMCOMPILERBUILDSTEP_DISPLAY));
|
||||
setDisplayName(tr(Constants::C_NIMCOMPILERBUILDSTEP_DISPLAY));
|
||||
setCommandLineProvider([this] { return commandLine(); });
|
||||
|
||||
connect(project(), &ProjectExplorer::Project::fileListChanged,
|
||||
|
||||
Reference in New Issue
Block a user