forked from qt-creator/qt-creator
BaseFileWizardFactory: rename createWizardDialog method to create
Unify name of parameters object that gets passed into the method while at it anyway. Change-Id: I9cfdfe3b7dcdbd5e083b3b91922053be3a63b081 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -132,14 +132,13 @@ GenericProjectWizard::GenericProjectWizard()
|
||||
setFlags(Core::IWizardFactory::PlatformIndependent);
|
||||
}
|
||||
|
||||
QWizard *GenericProjectWizard::createWizardDialog(QWidget *parent,
|
||||
const Core::WizardDialogParameters &wizardDialogParameters) const
|
||||
QWizard *GenericProjectWizard::create(QWidget *parent, const Core::WizardDialogParameters ¶meters) const
|
||||
{
|
||||
GenericProjectWizardDialog *wizard = new GenericProjectWizardDialog(parent);
|
||||
|
||||
wizard->setPath(wizardDialogParameters.defaultPath());
|
||||
wizard->setPath(parameters.defaultPath());
|
||||
|
||||
foreach (QWizardPage *p, wizardDialogParameters.extensionPages())
|
||||
foreach (QWizardPage *p, parameters.extensionPages())
|
||||
BaseFileWizardFactory::applyExtensionPageShortTitle(wizard, wizard->addPage(p));
|
||||
|
||||
return wizard;
|
||||
|
||||
Reference in New Issue
Block a user