Skip to content
Snippets Groups Projects
Commit f717f51b authored by ck's avatar ck Committed by Tim Jenssen
Browse files

Maemo: Automatically display sole device configuration.

Chances are the user wants to select it anyway.
parent d496f398
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,8 @@ void MaemoSettingsWidget::initGui()
m_ui->passwordLabel->hide();
m_ui->pwdLineEdit->hide();
#endif
if (m_devConfs.count() == 1)
m_ui->configListWidget->setCurrentRow(0, QItemSelectionModel::Select);
}
void MaemoSettingsWidget::addConfig()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment