RemoteLinux: Change the displayed names to 'Remote' instead of 'Generic'

Change-Id: I0e6edd24f10c69caf376379e1cec05bf90da9579
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Adam Treat
2022-05-27 18:37:08 -04:00
committed by hjk
parent 2496ffe3ce
commit 5c0ad89d91
3 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ static const FilePath baseFilePath()
TestLinuxDeviceFactory::TestLinuxDeviceFactory() TestLinuxDeviceFactory::TestLinuxDeviceFactory()
: IDeviceFactory("test") : IDeviceFactory("test")
{ {
setDisplayName("Generic Linux Device"); setDisplayName("Remote Linux Device");
setIcon(QIcon()); setIcon(QIcon());
setConstructionFunction(&LinuxDevice::create); setConstructionFunction(&LinuxDevice::create);
setCreator([] { setCreator([] {

View File

@@ -59,7 +59,7 @@ GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWi
: Utils::Wizard(parent), : Utils::Wizard(parent),
d(new Internal::GenericLinuxDeviceConfigurationWizardPrivate(this)) d(new Internal::GenericLinuxDeviceConfigurationWizardPrivate(this))
{ {
setWindowTitle(tr("New Generic Linux Device Configuration Setup")); setWindowTitle(tr("New Remote Linux Device Configuration Setup"));
setPage(Internal::SetupPageId, &d->setupPage); setPage(Internal::SetupPageId, &d->setupPage);
setPage(Internal::KeyDeploymentPageId, &d->keyDeploymentPage); setPage(Internal::KeyDeploymentPageId, &d->keyDeploymentPage);
setPage(Internal::FinalPageId, &d->finalPage); setPage(Internal::FinalPageId, &d->finalPage);

View File

@@ -978,8 +978,8 @@ private:
LinuxDevice::LinuxDevice() LinuxDevice::LinuxDevice()
: d(new LinuxDevicePrivate(this)) : d(new LinuxDevicePrivate(this))
{ {
setDisplayType(tr("Generic Linux")); setDisplayType(tr("Remote Linux"));
setDefaultDisplayName(tr("Generic Linux Device")); setDefaultDisplayName(tr("Remote Linux Device"));
setOsType(OsTypeLinux); setOsType(OsTypeLinux);
addDeviceAction({tr("Deploy Public Key..."), [](const IDevice::Ptr &device, QWidget *parent) { addDeviceAction({tr("Deploy Public Key..."), [](const IDevice::Ptr &device, QWidget *parent) {
@@ -1714,7 +1714,7 @@ namespace Internal {
LinuxDeviceFactory::LinuxDeviceFactory() LinuxDeviceFactory::LinuxDeviceFactory()
: IDeviceFactory(Constants::GenericLinuxOsType) : IDeviceFactory(Constants::GenericLinuxOsType)
{ {
setDisplayName(LinuxDevice::tr("Generic Linux Device")); setDisplayName(LinuxDevice::tr("Remote Linux Device"));
setIcon(QIcon()); setIcon(QIcon());
setConstructionFunction(&LinuxDevice::create); setConstructionFunction(&LinuxDevice::create);
setCreator([] { setCreator([] {