From f44e73b858af7d67b9c855469bee71927ba3f86b Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 14 May 2018 17:50:56 +0200 Subject: ProjectExplorer: Simplify BuildStepFactory De-QObject-ify class, tr contexts are now the product's context, which was the case in some BuildStepFactories already, and is current state in {Run,DeployConfiguration}Factory. One spurious object name removed. De-virtualize canHandle(), it was never overloaded and is not intended to be overloaded anymore. Remove unused clone() function. Change-Id: Iff7fba5f707505f868f94458084a18650535fa23 Reviewed-by: Tobias Hunger --- src/plugins/ios/iosdeploystepfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/ios/iosdeploystepfactory.cpp') diff --git a/src/plugins/ios/iosdeploystepfactory.cpp b/src/plugins/ios/iosdeploystepfactory.cpp index b6a3506e91..cb748edd94 100644 --- a/src/plugins/ios/iosdeploystepfactory.cpp +++ b/src/plugins/ios/iosdeploystepfactory.cpp @@ -36,7 +36,7 @@ namespace Internal { IosDeployStepFactory::IosDeployStepFactory() { registerStep(IosDeployStep::Id); - setDisplayName(tr("Deploy to iOS device or emulator")); + 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); -- cgit v1.2.1