RemoteLinux: Dissolve AbstractRemoteLinuxDeployStep::createDeployService

The previous setup doesn't buy much in comparison to new + setDeployService()
combo. Making that explicit now opens the path to simplify the two-phase
creation (i.e. move setInternalInitializer to the service c'tor).

Change-Id: Ib66c7d02efcddd6909fe612a786034e2728cdedf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
hjk
2022-10-13 14:35:25 +02:00
parent 01b07c0563
commit 9e4eabb410
8 changed files with 15 additions and 16 deletions

View File

@@ -106,7 +106,8 @@ class KillAppStep : public AbstractRemoteLinuxDeployStep
public:
KillAppStep(BuildStepList *bsl, Id id) : AbstractRemoteLinuxDeployStep(bsl, id)
{
auto service = createDeployService<Internal::KillAppService>();
auto service = new Internal::KillAppService;
setDeployService(service);
setWidgetExpandedByDefault(false);