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

@@ -192,7 +192,8 @@ public:
TarPackageDeployStep(BuildStepList *bsl, Id id)
: AbstractRemoteLinuxDeployStep(bsl, id)
{
auto service = createDeployService<TarPackageDeployService>();
auto service = new TarPackageDeployService;
setDeployService(service);
setWidgetExpandedByDefault(false);