diff options
Diffstat (limited to 'src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp')
-rw-r--r-- | src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp b/src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp index 3011a13a06..95d93f5200 100644 --- a/src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp +++ b/src/plugins/remotelinux/linuxdeviceconfigurationssettingswidget.cpp @@ -34,6 +34,7 @@ #include "linuxdeviceconfigurations.h" #include "linuxdevicefactoryselectiondialog.h" +#include "portlist.h" #include "remotelinuxutils.h" #include "sshkeycreationdialog.h" @@ -202,7 +203,7 @@ void LinuxDeviceConfigurationsSettingsWidget::displayCurrent() m_ui->defaultDeviceButton->setEnabled(!current->isDefault()); m_ui->osTypeValueLabel->setText(RemoteLinuxUtils::osTypeToString(current->osType())); const SshConnectionParameters &sshParams = current->sshParameters(); - if (current->type() == LinuxDeviceConfiguration::Physical) + if (current->deviceType() == LinuxDeviceConfiguration::Hardware) m_ui->deviceTypeValueLabel->setText(tr("Physical Device")); else m_ui->deviceTypeValueLabel->setText(tr("Emulator")); |