Commit 14d93280 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Disable some actions for auto-detected devices.

- Host address and port are part of the service discovery; therefore, it
makes no sense to change them.
- Interactive removal of an auto-detected device configuration should
also not be possible, as that would likely confuse the code that added
it.

Change-Id: I7250462fa619ed4cd5a85ad44eeaa8ec1f8861d2
Reviewed-on: http://codereview.qt-project.org/6398


Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent e2fefedb
......@@ -218,6 +218,9 @@ void LinuxDeviceConfigurationsSettingsWidget::displayCurrent()
m_ui->keyButton->setChecked(true);
m_nameValidator->setDisplayName(current->name());
m_ui->timeoutSpinBox->setValue(sshParams.timeout);
m_ui->removeConfigButton->setEnabled(!current->isAutoDetected());
m_ui->hostLineEdit->setEnabled(!current->isAutoDetected());
m_ui->sshPortSpinBox->setEnabled(!current->isAutoDetected());
fillInValues();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment