Commit 3afaf008 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

welcome screen: Simplify project wizard call.

parent 224a3870
...@@ -310,9 +310,8 @@ void WelcomeMode::slotFeedback() ...@@ -310,9 +310,8 @@ void WelcomeMode::slotFeedback()
void WelcomeMode::slotCreateNewProject() void WelcomeMode::slotCreateNewProject()
{ {
Core::Internal::NewDialog dlg(widget()); Core::ICore::instance()->showNewItemDialog(tr("New Project..."),
dlg.setWizards(Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard)); Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard));
dlg.showDialog();
} }
void WelcomeMode::slotNextTip() void WelcomeMode::slotNextTip()
......
Markdown is supported
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