summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-07-26 11:46:26 +0200
committercon <qtc-committer@nokia.com>2010-07-26 12:13:18 +0200
commited0394d452892abf89e93963d4fa22caa5793d55 (patch)
tree62bafe1382fd83464d0477f5f608bf247a1948ad /src
parent66d75056aefaffe908b50461bf549111af0466d5 (diff)
downloadqt-creator-ed0394d452892abf89e93963d4fa22caa5793d55.tar.gz
Fixes: New Project action didn't respect the default project location.
It had old, interfering logic of its own. Reviewed-by: Tobias Hunger
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp10
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();
}