forked from qt-creator/qt-creator
RemoteLinux: Replace RemoteLinuxDeployConfiguration
... by base DeployConfiguration and adapt remaining users. Change-Id: I6e2a0ab0c9b682b221de0089f8768b5e621e0025 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user