forked from qt-creator/qt-creator
Project Wizards: Introduce notion of project directory, polish.
- Introduce project directory and "use" flag to file manager, use that in new item dialog - Add configuration under Project settings, rename it to "General" - Make wizards create project names as "untitled1.." - Remove modules page from Qt application wizards (parametrizable) - Give Utils::ProjectIntroPage a "Set as default location" toggle. - Introduce wizard dialog base classes for handling that. - Introduce notion of "last visited directory to file manager" for open and non-project wizards, route open through file manager. - Clean out QmlAppWizard Task-number: QTCREATORBUG-333 Rubber-stamped-by: con <qtc-committer@nokia.com>
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
|
||||
#include "emptyprojectwizarddialog.h"
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
namespace Qt4ProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
@@ -48,7 +46,8 @@ QWizard *EmptyProjectWizard::createWizardDialog(QWidget *parent,
|
||||
const WizardPageList &extensionPages) const
|
||||
{
|
||||
EmptyProjectWizardDialog *dialog = new EmptyProjectWizardDialog(name(), icon(), extensionPages, parent);
|
||||
dialog->setPath(defaultPath.isEmpty() ? Utils::PathChooser::homePath() : defaultPath);
|
||||
dialog->setPath(defaultPath);
|
||||
dialog->setName(EmptyProjectWizardDialog::projectName(defaultPath));
|
||||
return dialog;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user