From 537a4ba285b2ee41cf68eeabe4fb2b37a489a6e5 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 18 Jan 2019 15:41:29 +0100 Subject: ProjectExplorer: Remove registerDeployConfiguration Since the types are all the same now, no template is needed, and effectively only m_configBaseId is set, so rename the function accordingly. Change-Id: I79bbf488a0549d78b6f3f0408e6744f71a5dc190 Reviewed-by: Christian Kandeler --- src/plugins/winrt/winrtdeployconfiguration.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/winrt') diff --git a/src/plugins/winrt/winrtdeployconfiguration.cpp b/src/plugins/winrt/winrtdeployconfiguration.cpp index 189e978373..e6eb9fd0da 100644 --- a/src/plugins/winrt/winrtdeployconfiguration.cpp +++ b/src/plugins/winrt/winrtdeployconfiguration.cpp @@ -41,7 +41,7 @@ namespace Internal { WinRtAppDeployConfigurationFactory::WinRtAppDeployConfigurationFactory() { - registerDeployConfiguration("WinRTAppxDeployConfiguration"); + setConfigBaseId("WinRTAppxDeployConfiguration"); setDefaultDisplayName(QCoreApplication::translate("WinRt::Internal::WinRtDeployConfiguration", "Run windeployqt")); addSupportedTargetDeviceType(Constants::WINRT_DEVICE_TYPE_LOCAL); @@ -50,7 +50,7 @@ WinRtAppDeployConfigurationFactory::WinRtAppDeployConfigurationFactory() WinRtPhoneDeployConfigurationFactory::WinRtPhoneDeployConfigurationFactory() { - registerDeployConfiguration("WinRTPhoneDeployConfiguration"); + setConfigBaseId("WinRTPhoneDeployConfiguration"); setDefaultDisplayName(QCoreApplication::translate("WinRt::Internal::WinRtDeployConfiguration", "Deploy to Windows Phone")); addSupportedTargetDeviceType(Constants::WINRT_DEVICE_TYPE_PHONE); @@ -59,7 +59,7 @@ WinRtPhoneDeployConfigurationFactory::WinRtPhoneDeployConfigurationFactory() WinRtEmulatorDeployConfigurationFactory::WinRtEmulatorDeployConfigurationFactory() { - registerDeployConfiguration("WinRTEmulatorDeployConfiguration"); + setConfigBaseId("WinRTEmulatorDeployConfiguration"); setDefaultDisplayName(QCoreApplication::translate("WinRt::Internal::WinRtDeployConfiguration", "Deploy to Windows Phone Emulator")); addSupportedTargetDeviceType(Constants::WINRT_DEVICE_TYPE_EMULATOR); -- cgit v1.2.1