From ed0394d452892abf89e93963d4fa22caa5793d55 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Mon, 26 Jul 2010 11:46:26 +0200 Subject: [PATCH] Fixes: New Project action didn't respect the default project location. It had old, interfering logic of its own. Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/projectexplorer.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index fb4d5579c19..c87981803e2 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(); } -- GitLab