From 3afaf008def23ad8b5ba445dbdd02b12a71e4a64 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Thu, 28 May 2009 17:10:57 +0200 Subject: [PATCH] welcome screen: Simplify project wizard call. --- src/plugins/coreplugin/welcomemode.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/welcomemode.cpp b/src/plugins/coreplugin/welcomemode.cpp index b4843bf8396..23336357a27 100644 --- a/src/plugins/coreplugin/welcomemode.cpp +++ b/src/plugins/coreplugin/welcomemode.cpp @@ -310,9 +310,8 @@ void WelcomeMode::slotFeedback() void WelcomeMode::slotCreateNewProject() { - Core::Internal::NewDialog dlg(widget()); - dlg.setWizards(Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard)); - dlg.showDialog(); + Core::ICore::instance()->showNewItemDialog(tr("New Project..."), + Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard)); } void WelcomeMode::slotNextTip() -- GitLab