forked from qt-creator/qt-creator
VCS: Replace AbstractCheckoutJob with Command
Command now provides the same functionality. Deduplicate code. Change-Id: I789f021050471281870b6ef6a81a94e66fbdf0c7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
27e53f746f
commit
aefd61478a
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "basecheckoutwizard.h"
|
||||
#include "checkoutwizarddialog.h"
|
||||
#include "checkoutjobs.h"
|
||||
|
||||
#include <coreplugin/featureprovider.h>
|
||||
|
||||
@@ -215,8 +214,8 @@ QString BaseCheckoutWizard::openProject(const QString &path, QString *errorMessa
|
||||
|
||||
void BaseCheckoutWizard::slotProgressPageShown()
|
||||
{
|
||||
const QSharedPointer<AbstractCheckoutJob> job = createJob(d->parameterPages, &(d->checkoutPath));
|
||||
d->dialog->start(job);
|
||||
Command *command = createCommand(d->parameterPages, &(d->checkoutPath));
|
||||
d->dialog->start(command);
|
||||
}
|
||||
|
||||
} // namespace VcsBase
|
||||
|
||||
Reference in New Issue
Block a user