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:
		@@ -139,7 +139,8 @@ void RsyncDeployService::setFinished()
 | 
			
		||||
RsyncDeployStep::RsyncDeployStep(BuildStepList *bsl, Id id)
 | 
			
		||||
        : AbstractRemoteLinuxDeployStep(bsl, id)
 | 
			
		||||
{
 | 
			
		||||
    auto service = createDeployService<RsyncDeployService>();
 | 
			
		||||
    auto service = new RsyncDeployService;
 | 
			
		||||
    setDeployService(service);
 | 
			
		||||
 | 
			
		||||
    auto flags = addAspect<StringAspect>();
 | 
			
		||||
    flags->setDisplayStyle(StringAspect::LineEditDisplay);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user