diff options
author | hjk <hjk@qt.io> | 2018-05-14 17:50:56 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-05-31 10:15:42 +0000 |
commit | f44e73b858af7d67b9c855469bee71927ba3f86b (patch) | |
tree | 7156c74edf440aaa2d9b9f778e6e5f2fd9ade04f /src/plugins/ios/iosdeploystepfactory.cpp | |
parent | 4feb2259d93dc666d41582ae63aa4b7499ef86a5 (diff) | |
download | qt-creator-f44e73b858af7d67b9c855469bee71927ba3f86b.tar.gz |
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 <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/ios/iosdeploystepfactory.cpp')
-rw-r--r-- | src/plugins/ios/iosdeploystepfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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>(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); |