Maemo: Display OS type in device configuration widget.

This commit is contained in:
Christian Kandeler
2011-02-03 17:35:02 +01:00
parent 448f754ce9
commit 7caf52125e
5 changed files with 51 additions and 19 deletions

View File

@@ -195,6 +195,7 @@ void MaemoDeviceConfigurationsSettingsWidget::displayCurrent()
{
const MaemoDeviceConfig::ConstPtr &current = currentConfig();
m_ui->defaultDeviceButton->setEnabled(!current->isDefault());
m_ui->osTypeValueLabel->setText(MaemoGlobal::maemoVersionToString(current->osVersion()));
const SshConnectionParameters &sshParams = current->sshParameters();
if (current->type() == MaemoDeviceConfig::Physical)
m_ui->deviceTypeValueLabel->setText(tr("Physical Device"));