Maemo: Hide password-related GUI elements.

This commit is contained in:
ck
2009-12-10 17:34:22 +01:00
parent 57634ab2d1
commit 0e3ee9c7b2
3 changed files with 16 additions and 6 deletions

View File

@@ -218,6 +218,14 @@ void MaemoSettingsWidget::initGui()
m_ui->keyFileLineEdit->setExpectedKind(Utils::PathChooser::File);
foreach(const MaemoDeviceConfigurations::DeviceConfig &devConf, m_devConfs)
m_ui->configListWidget->addItem(devConf.name);
#if 1 // Password authentication does not currently work due to ssh/scp issues.
m_ui->authTypeLabel->hide();
m_ui->authTypeButtonsWidget->hide();
m_ui->passwordLabel->hide();
m_ui->pwdLineEdit->hide();
#endif
}
void MaemoSettingsWidget::addConfig()