iOS: Use a constant from iosconstant.h as deploy step id

Not really a big win here, but in line with what most others do.

Change-Id: I19f100084c8ca4cc7d0de97125efdc519bdfc972
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-08-18 11:33:37 +02:00
parent fb262ce24d
commit b0fb06b8ef
4 changed files with 3 additions and 9 deletions

View File

@@ -315,17 +315,12 @@ IosSimulator::ConstPtr IosDeployStep::iossimulator() const
IosDeployStepFactory::IosDeployStepFactory()
{
registerStep<IosDeployStep>(stepId());
registerStep<IosDeployStep>(Constants::IOS_DEPLOY_STEP_ID);
setDisplayName(IosDeployStep::tr("Deploy to iOS device or emulator"));
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY);
setSupportedDeviceTypes({Constants::IOS_DEVICE_TYPE, Constants::IOS_SIMULATOR_TYPE});
setRepeatable(false);
}
Utils::Id IosDeployStepFactory::stepId()
{
return "Qt4ProjectManager.IosDeployStep";
}
} // namespace Internal
} // namespace Ios