forked from qt-creator/qt-creator
JsonWizard: Make description on projects page default to the wizard description
Change-Id: Icb8a4856dda4298b3ee901bc7a5c22190ddca5a6 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -388,6 +388,12 @@ void JsonWizardFactory::runWizard(const QString &path, QWidget *parent, const QS
|
||||
kindStr = QLatin1String(Core::Constants::WIZARD_KIND_PROJECT);
|
||||
wizard.setValue(QStringLiteral("kind"), kindStr);
|
||||
|
||||
wizard.setValue(QStringLiteral("trDescription"), description());
|
||||
wizard.setValue(QStringLiteral("trDisplayName"), displayName());
|
||||
wizard.setValue(QStringLiteral("trCategory"), displayCategory());
|
||||
wizard.setValue(QStringLiteral("category"), category());
|
||||
wizard.setValue(QStringLiteral("id"), id().toString());
|
||||
|
||||
for (auto i = m_options.constBegin(); i != m_options.constEnd(); ++i)
|
||||
wizard.setValue(i.key(), i.value());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user