diff options
author | hjk <hjk@qt.io> | 2019-01-18 15:19:59 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-01-22 09:33:54 +0000 |
commit | 59ac20b8d572f4cc2b80a6809a2da5f863059985 (patch) | |
tree | 2fab0a2db56552008146b0fa5555d95053fa9e9a /src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp | |
parent | a8d2546dad8d8a05515ff867271e46ebed5841d7 (diff) | |
download | qt-creator-59ac20b8d572f4cc2b80a6809a2da5f863059985.tar.gz |
RemoteLinux: Replace RemoteLinuxDeployConfiguration
... by base DeployConfiguration and adapt remaining users.
Change-Id: I6e2a0ab0c9b682b221de0089f8768b5e621e0025
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp b/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp index ad9147042a..9e8b51ef61 100644 --- a/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp +++ b/src/plugins/remotelinux/remotelinuxdeployconfiguration.cpp @@ -45,11 +45,7 @@ namespace RemoteLinux { using namespace Internal; -RemoteLinuxDeployConfiguration::RemoteLinuxDeployConfiguration(Target *target, Core::Id id) - : DeployConfiguration(target, id) -{} - -Core::Id RemoteLinuxDeployConfiguration::genericDeployConfigurationId() +Core::Id genericDeployConfigurationId() { return "DeployToGenericLinux"; } @@ -58,8 +54,7 @@ namespace Internal { RemoteLinuxDeployConfigurationFactory::RemoteLinuxDeployConfigurationFactory() { - registerDeployConfiguration<RemoteLinuxDeployConfiguration> - (RemoteLinuxDeployConfiguration::genericDeployConfigurationId()); + registerDeployConfiguration<DeployConfiguration>(genericDeployConfigurationId()); addSupportedTargetDeviceType(RemoteLinux::Constants::GenericLinuxOsType); setDefaultDisplayName(QCoreApplication::translate("RemoteLinux", "Deploy to Remote Linux Host")); |