Commit 3fff0b2f authored by Leena Miettinen's avatar Leena Miettinen
Browse files

UI text: use book style caps for options in pull-down lists



Change-Id: Id4ada4406d7ea73f9b2f99f2be5187c9ff9415b0
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 12bf40db
......@@ -269,18 +269,18 @@ void NewDialog::setWizards(QList<IWizard*> wizards)
QStringList availablePlatforms = IWizard::allAvailablePlatforms();
if (availablePlatforms.count() > 1) {
m_ui->comboBox->addItem(tr("All templates"), QString());
m_ui->comboBox->addItem(tr("All Templates"), QString());
foreach (const QString &platform, availablePlatforms) {
const QString displayNameForPlatform = IWizard::displayNameForPlatform(platform);
m_ui->comboBox->addItem(tr("%1 templates").arg(displayNameForPlatform), platform);
m_ui->comboBox->addItem(tr("%1 Templates").arg(displayNameForPlatform), platform);
}
} else {
if (availablePlatforms.isEmpty()) {
m_ui->comboBox->addItem(tr("All templates"), QString());
m_ui->comboBox->addItem(tr("All Templates"), QString());
} else {
const QString platform = availablePlatforms.first();
const QString displayNameForPlatform = IWizard::displayNameForPlatform(platform);
m_ui->comboBox->addItem(tr("%1 templates").arg(displayNameForPlatform), platform);
m_ui->comboBox->addItem(tr("%1 Templates").arg(displayNameForPlatform), platform);
}
m_ui->comboBox->setDisabled(true);
}
......
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