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()
: IDeviceFactory("test")
{
setDisplayName("Generic Linux Device");
setDisplayName("Remote Linux Device");
setIcon(QIcon());
setConstructionFunction(&LinuxDevice::create);
setCreator([] {

View File

@@ -59,7 +59,7 @@ GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWi
: Utils::Wizard(parent),
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::KeyDeploymentPageId, &d->keyDeploymentPage);
setPage(Internal::FinalPageId, &d->finalPage);

View File

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