forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user