From daf444a08649597cf47c8020832cf8b16a69c2bc Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 15 Jul 2020 14:29:35 +0200 Subject: [PATCH] Wizards: Improve the UI for showing the list of platforms A plain string like "Android Device Desktop" is hard to parse, especially when there's unfortunate line wrapping. Use a proper list. Fixes: QTCREATORBUG-24288 Change-Id: I560ef5e14f0775ab233b1258b04a1c39414be51c Reviewed-by: Eike Ziller --- src/plugins/coreplugin/dialogs/newdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/dialogs/newdialog.cpp b/src/plugins/coreplugin/dialogs/newdialog.cpp index 28aae51b6ac..c42649c7290 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.cpp +++ b/src/plugins/coreplugin/dialogs/newdialog.cpp @@ -459,9 +459,9 @@ void NewDialog::currentItemChanged(const QModelIndex &index) desciption += tr("Platform independent") + QLatin1String(""); else desciption += tr("Supported Platforms") - + QLatin1String(": ") - + displayNamesForSupportedPlatforms.join(QLatin1Char(' ')) - + QLatin1String(""); + + QLatin1String(": "); m_ui->templateDescription->setHtml(desciption);