forked from qt-creator/qt-creator
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:
@@ -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([] {
|
||||||
|
@@ -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);
|
||||||
|
@@ -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([] {
|
||||||
|
Reference in New Issue
Block a user