From 89aa5c984f766bfbe5bc44f97d81ca83be9c010a Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 23 Jul 2024 11:08:13 +0200 Subject: [PATCH] ProjectExplorer: Make custom build step id accessible Change-Id: Ia1877c4b14fbdc91e6cc1e24b0ee0182f548c5fd Reviewed-by: Marcus Tillmanns --- src/plugins/projectexplorer/processstep.cpp | 2 +- src/plugins/projectexplorer/projectexplorerconstants.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/processstep.cpp b/src/plugins/projectexplorer/processstep.cpp index 18547fcb015..8879efc498a 100644 --- a/src/plugins/projectexplorer/processstep.cpp +++ b/src/plugins/projectexplorer/processstep.cpp @@ -78,7 +78,7 @@ private: ProcessStepFactory::ProcessStepFactory() { - registerStep("ProjectExplorer.ProcessStep"); + registerStep(Constants::CUSTOM_PROCESS_STEP); //: Default ProcessStep display name setDisplayName(Tr::tr("Custom Process Step")); } diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index 659c74991ab..8db24364cb4 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -126,6 +126,7 @@ const char BUILDSTEPS_DEPLOY[] = "ProjectExplorer.BuildSteps.Deploy"; const char COPY_FILE_STEP[] = "ProjectExplorer.CopyFileStep"; const char COPY_DIRECTORY_STEP[] = "ProjectExplorer.CopyDirectoryStep"; const char DEVICE_CHECK_STEP[] = "ProjectExplorer.DeviceCheckBuildStep"; +const char CUSTOM_PROCESS_STEP[] = "ProjectExplorer.ProcessStep"; // Language