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