From d2da1a94ffd13d36f5129be1d0993ad219bbf0cc Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 22 Jan 2015 13:51:54 +0100 Subject: Bazaar: Sprinkle with auto Change-Id: Ie87de7eeeba6988870c8c35eab67be576f4e60a5 Reviewed-by: Orgad Shaneh --- src/plugins/bazaar/clonewizard.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/bazaar/clonewizard.cpp') diff --git a/src/plugins/bazaar/clonewizard.cpp b/src/plugins/bazaar/clonewizard.cpp index 9a24c8bb6a..05ebe93646 100644 --- a/src/plugins/bazaar/clonewizard.cpp +++ b/src/plugins/bazaar/clonewizard.cpp @@ -59,11 +59,11 @@ CloneWizard::CloneWizard(const Utils::FileName &path, QWidget *parent) : const Core::IVersionControl *vc = BazaarPlugin::instance()->versionControl(); if (!vc->isConfigured()) { - VcsConfigurationPage *configPage = new VcsConfigurationPage; + auto configPage = new VcsConfigurationPage; configPage->setVersionControl(vc); addPage(configPage); } - CloneWizardPage *page = new CloneWizardPage; + auto page = new CloneWizardPage; page->setPath(path.toString()); addPage(page); } @@ -105,8 +105,8 @@ VcsCommand *CloneWizard::createCommand(Utils::FileName *checkoutDir) args << client->vcsCommandString(BazaarClient::CloneCommand) << extraOptions << cwp->repository() << cwp->directory(); - VcsCommand *command = new VcsCommand(settings.binaryPath(), cwp->path(), - client->processEnvironment()); + auto command = new VcsCommand(settings.binaryPath(), cwp->path(), + client->processEnvironment()); command->addJob(args, -1); return command; } -- cgit v1.2.1