Commit 10133693 authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix typo in variable name



Change-Id: Ieab22fb5e5ab5b505821b6ebe01472681b1fade4
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 231c46d1
...@@ -406,9 +406,9 @@ void NewDialog::currentItemChanged(const QModelIndex &index) ...@@ -406,9 +406,9 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
QStandardItem* cat = (m_model->itemFromIndex(sourceIndex)); QStandardItem* cat = (m_model->itemFromIndex(sourceIndex));
if (const IWizard *wizard = wizardOfItem(cat)) { if (const IWizard *wizard = wizardOfItem(cat)) {
QString desciption = wizard->description(); QString desciption = wizard->description();
QStringList displayNamesForSupporttedPlatforms; QStringList displayNamesForSupportedPlatforms;
foreach (const QString &platform, wizard->supportedPlatforms()) foreach (const QString &platform, wizard->supportedPlatforms())
displayNamesForSupporttedPlatforms << IWizard::displayNameForPlatform(platform); displayNamesForSupportedPlatforms << IWizard::displayNameForPlatform(platform);
if (!Qt::mightBeRichText(desciption)) if (!Qt::mightBeRichText(desciption))
desciption.replace(QLatin1Char('\n'), QLatin1String("<br>")); desciption.replace(QLatin1Char('\n'), QLatin1String("<br>"));
desciption += QLatin1String("<br><br><b>"); desciption += QLatin1String("<br><br><b>");
...@@ -417,7 +417,7 @@ void NewDialog::currentItemChanged(const QModelIndex &index) ...@@ -417,7 +417,7 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
else else
desciption += tr("Supported Platforms") desciption += tr("Supported Platforms")
+ QLatin1String("</b>: <tt>") + QLatin1String("</b>: <tt>")
+ displayNamesForSupporttedPlatforms.join(QLatin1String(" ")) + displayNamesForSupportedPlatforms.join(QLatin1String(" "))
+ QLatin1String("</tt>"); + QLatin1String("</tt>");
m_ui->templateDescription->setHtml(desciption); m_ui->templateDescription->setHtml(desciption);
......
Supports Markdown
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