Fix typo in variable name

Change-Id: Ieab22fb5e5ab5b505821b6ebe01472681b1fade4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Kai Koehne
2014-03-19 09:41:43 +01:00
parent 231c46d102
commit 10133693fb

View File

@@ -406,9 +406,9 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
QStandardItem* cat = (m_model->itemFromIndex(sourceIndex));
if (const IWizard *wizard = wizardOfItem(cat)) {
QString desciption = wizard->description();
QStringList displayNamesForSupporttedPlatforms;
QStringList displayNamesForSupportedPlatforms;
foreach (const QString &platform, wizard->supportedPlatforms())
displayNamesForSupporttedPlatforms << IWizard::displayNameForPlatform(platform);
displayNamesForSupportedPlatforms << IWizard::displayNameForPlatform(platform);
if (!Qt::mightBeRichText(desciption))
desciption.replace(QLatin1Char('\n'), QLatin1String("<br>"));
desciption += QLatin1String("<br><br><b>");
@@ -417,7 +417,7 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
else
desciption += tr("Supported Platforms")
+ QLatin1String("</b>: <tt>")
+ displayNamesForSupporttedPlatforms.join(QLatin1String(" "))
+ displayNamesForSupportedPlatforms.join(QLatin1String(" "))
+ QLatin1String("</tt>");
m_ui->templateDescription->setHtml(desciption);