forked from qt-creator/qt-creator
ProjectExplorer: Pass Id to BuildStep constructor
Allows to use constants in fewer places, similar to what e.g. RunConfiguration does. Change-Id: I9d049128206c4acf0ce14b06b66d6c090a7c5242 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -40,8 +40,8 @@ using namespace Utils;
|
||||
|
||||
namespace Nim {
|
||||
|
||||
NimCompilerCleanStep::NimCompilerCleanStep(BuildStepList *parentList)
|
||||
: BuildStep(parentList, Constants::C_NIMCOMPILERCLEANSTEP_ID)
|
||||
NimCompilerCleanStep::NimCompilerCleanStep(BuildStepList *parentList, Core::Id id)
|
||||
: BuildStep(parentList, id)
|
||||
{
|
||||
setDefaultDisplayName(tr("Nim Clean Step"));
|
||||
setDisplayName(tr("Nim Clean Step"));
|
||||
|
||||
Reference in New Issue
Block a user