diff options
author | hjk <hjk@qt.io> | 2019-12-20 17:05:30 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-01-09 11:26:01 +0000 |
commit | c95bde6f6a638ddf4197c1fb56968de8794c9b35 (patch) | |
tree | 0b282897bdf5db53355ea95e2117e214b0c7cdf3 /src/plugins/boot2qt | |
parent | 2f5365bf6102e44c9af1c330601a22f4d34f9631 (diff) |
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>
Diffstat (limited to 'src/plugins/boot2qt')
-rw-r--r-- | src/plugins/boot2qt/qdbmakedefaultappstep.cpp | 4 | ||||
-rw-r--r-- | src/plugins/boot2qt/qdbmakedefaultappstep.h | 2 | ||||
-rw-r--r-- | src/plugins/boot2qt/qdbstopapplicationstep.cpp | 4 | ||||
-rw-r--r-- | src/plugins/boot2qt/qdbstopapplicationstep.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/boot2qt/qdbmakedefaultappstep.cpp b/src/plugins/boot2qt/qdbmakedefaultappstep.cpp index 5ddb9fa6c77..917cbf1f41a 100644 --- a/src/plugins/boot2qt/qdbmakedefaultappstep.cpp +++ b/src/plugins/boot2qt/qdbmakedefaultappstep.cpp @@ -34,8 +34,8 @@ using namespace ProjectExplorer; namespace Qdb { namespace Internal { -QdbMakeDefaultAppStep::QdbMakeDefaultAppStep(BuildStepList *bsl) - : AbstractRemoteLinuxDeployStep(bsl, stepId()) +QdbMakeDefaultAppStep::QdbMakeDefaultAppStep(BuildStepList *bsl, Core::Id id) + : AbstractRemoteLinuxDeployStep(bsl, id) { setDefaultDisplayName(stepDisplayName()); diff --git a/src/plugins/boot2qt/qdbmakedefaultappstep.h b/src/plugins/boot2qt/qdbmakedefaultappstep.h index ffaf0dcab6c..59c3c14afcc 100644 --- a/src/plugins/boot2qt/qdbmakedefaultappstep.h +++ b/src/plugins/boot2qt/qdbmakedefaultappstep.h @@ -35,7 +35,7 @@ class QdbMakeDefaultAppStep : public RemoteLinux::AbstractRemoteLinuxDeployStep Q_OBJECT public: - explicit QdbMakeDefaultAppStep(ProjectExplorer::BuildStepList *bsl); + QdbMakeDefaultAppStep(ProjectExplorer::BuildStepList *bsl, Core::Id id); static Core::Id stepId(); static QString stepDisplayName(); diff --git a/src/plugins/boot2qt/qdbstopapplicationstep.cpp b/src/plugins/boot2qt/qdbstopapplicationstep.cpp index 0005a01712f..240d2b8babb 100644 --- a/src/plugins/boot2qt/qdbstopapplicationstep.cpp +++ b/src/plugins/boot2qt/qdbstopapplicationstep.cpp @@ -30,8 +30,8 @@ namespace Qdb { namespace Internal { -QdbStopApplicationStep::QdbStopApplicationStep(ProjectExplorer::BuildStepList *bsl) - : AbstractRemoteLinuxDeployStep(bsl, stepId()) +QdbStopApplicationStep::QdbStopApplicationStep(ProjectExplorer::BuildStepList *bsl, Core::Id id) + : AbstractRemoteLinuxDeployStep(bsl, id) { auto service = createDeployService<QdbStopApplicationService>(); diff --git a/src/plugins/boot2qt/qdbstopapplicationstep.h b/src/plugins/boot2qt/qdbstopapplicationstep.h index 2d1fcf69c97..a5e34183961 100644 --- a/src/plugins/boot2qt/qdbstopapplicationstep.h +++ b/src/plugins/boot2qt/qdbstopapplicationstep.h @@ -34,7 +34,7 @@ class QdbStopApplicationStep : public RemoteLinux::AbstractRemoteLinuxDeployStep { Q_OBJECT public: - explicit QdbStopApplicationStep(ProjectExplorer::BuildStepList *bsl); + QdbStopApplicationStep(ProjectExplorer::BuildStepList *bsl, Core::Id id); static Core::Id stepId(); static QString stepDisplayName(); |