diff options
author | hjk <[email protected]> | 2023-01-06 15:54:09 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2023-01-11 09:39:36 +0000 |
commit | ac5db861293a656f8ad6e0b97d4213272f1e81e7 (patch) | |
tree | 0104b4986ed5b7e641539ba88a80a7a7013d5a30 /src/plugins/ios/iosrunconfiguration.cpp | |
parent | c6471341f6c9001a84463b070d9566365e680b39 (diff) |
iOS: use dedicated classes to create run workers
Change-Id: I3ba7b75edf69b9cf88726132f154de5c4cc7ca7b
Reviewed-by: Eike Ziller <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunconfiguration.cpp')
-rw-r--r-- | src/plugins/ios/iosrunconfiguration.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/ios/iosrunconfiguration.cpp b/src/plugins/ios/iosrunconfiguration.cpp index d232e8daff0..84e0910ca96 100644 --- a/src/plugins/ios/iosrunconfiguration.cpp +++ b/src/plugins/ios/iosrunconfiguration.cpp @@ -36,8 +36,7 @@ using namespace ProjectExplorer; using namespace Utils; -namespace Ios { -namespace Internal { +namespace Ios::Internal { static const QLatin1String deviceTypeKey("Ios.device_type"); @@ -403,10 +402,9 @@ FilePath IosDeviceTypeAspect::localExecutable() const IosRunConfigurationFactory::IosRunConfigurationFactory() { - registerRunConfiguration<IosRunConfiguration>("Qt4ProjectManager.IosRunConfiguration:"); + registerRunConfiguration<IosRunConfiguration>(Constants::IOS_RUNCONFIG_ID); addSupportedTargetDeviceType(Constants::IOS_DEVICE_TYPE); addSupportedTargetDeviceType(Constants::IOS_SIMULATOR_TYPE); } -} // namespace Internal -} // namespace Ios +} // Ios::Internal |