diff options
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorer.cpp')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index fb4d5579c1..c87981803e 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -909,16 +909,8 @@ void ProjectExplorerPlugin::newProject() if (debug) qDebug() << "ProjectExplorerPlugin::newProject"; - QString defaultLocation; - if (currentProject()) { - QDir dir(currentProject()->projectDirectory()); - dir.cdUp(); - defaultLocation = dir.absolutePath(); - } - Core::ICore::instance()->showNewItemDialog(tr("New Project", "Title of dialog"), - Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard), - defaultLocation); + Core::IWizard::wizardsOfKind(Core::IWizard::ProjectWizard)); updateActions(); } |