Commit 8140341f authored by Tobias Hunger's avatar Tobias Hunger

VcsBase: Rename variable in basecheckoutwizardfactory

Change-Id: I386d37e62eebb0254bc20b5c55e9c55c04d1fe42
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent c10eb81a
......@@ -105,16 +105,17 @@ void BaseCheckoutWizardFactory::runWizard(const QString &path, QWidget *parent,
Q_UNUSED(platform);
Q_UNUSED(extraValues);
// Create dialog and launch
d->parameterPages = createParameterPages(path);
BaseCheckoutWizard dialog(d->parameterPages, parent);
BaseCheckoutWizard wizard(d->parameterPages, parent);
if (!d->progressTitle.isEmpty())
dialog.setTitle(d->progressTitle);
wizard.setTitle(d->progressTitle);
if (!d->startedStatus.isEmpty())
dialog.setStartedStatus(d->startedStatus);
d->dialog = &dialog;
connect(&dialog, SIGNAL(progressPageShown()), this, SLOT(slotProgressPageShown()));
dialog.setWindowTitle(displayName());
if (dialog.exec() != QDialog::Accepted)
wizard.setStartedStatus(d->startedStatus);
d->dialog = &wizard;
connect(&wizard, SIGNAL(progressPageShown()), this, SLOT(slotProgressPageShown()));
wizard.setWindowTitle(displayName());
if (wizard.exec() != QDialog::Accepted)
return;
// Now try to find the project file and open
const QString checkoutPath = d->checkoutPath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment