forked from qt-creator/qt-creator
RemoteLinux: Rename and unconstify deploy step function.
The name "isDeploymentPossible" was misleading, as was the const modifier. Change-Id: Iccaa307133f56ab02a8d6054b0ca9bf660e0d30d Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -82,7 +82,7 @@ bool AbstractRemoteLinuxDeployStep::init()
|
||||
QString error;
|
||||
deployService()->setDeviceConfiguration(deployConfiguration()->deviceConfiguration());
|
||||
deployService()->setBuildConfiguration(qobject_cast<Qt4ProjectManager::Qt4BuildConfiguration *>(target()->activeBuildConfiguration()));
|
||||
const bool canDeploy = isDeploymentPossible(&error);
|
||||
const bool canDeploy = initInternal(&error);
|
||||
if (!canDeploy)
|
||||
emit addOutput(tr("Deployment failed: %1").arg(error), ErrorMessageOutput);
|
||||
return canDeploy;
|
||||
|
||||
Reference in New Issue
Block a user