diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-05-05 15:51:59 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-05-26 11:43:29 +0200 |
commit | 8140341fec52e2d8f72f1239c73784e57744b8e8 (patch) | |
tree | 594a11931be2586f2e07cc3df87be8c01ed7641c /src/plugins/vcsbase/basecheckoutwizardfactory.cpp | |
parent | c10eb81a7c155b54b8549d1db9e0e0c76a569733 (diff) | |
download | qt-creator-8140341fec52e2d8f72f1239c73784e57744b8e8.tar.gz |
VcsBase: Rename variable in basecheckoutwizardfactory
Change-Id: I386d37e62eebb0254bc20b5c55e9c55c04d1fe42
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/vcsbase/basecheckoutwizardfactory.cpp')
-rw-r--r-- | src/plugins/vcsbase/basecheckoutwizardfactory.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp index 8e2813f1c7..20b5763573 100644 --- a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp +++ b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp @@ -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; |