forked from qt-creator/qt-creator
Fix typo in variable name
Change-Id: Ieab22fb5e5ab5b505821b6ebe01472681b1fade4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user