forked from qt-creator/qt-creator
Subversion: Replace Subversion Checkout wizard
Replace the subversion checkout wizard with a Json wizard. Change-Id: I969ff00e2e6fdc8088f8c7a928f80454cd987164 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
#include "subversionclient.h"
|
||||
#include "subversionconstants.h"
|
||||
#include "subversioncontrol.h"
|
||||
#include "checkoutwizard.h"
|
||||
|
||||
#include <vcsbase/basevcseditorfactory.h>
|
||||
#include <vcsbase/vcscommand.h>
|
||||
@@ -260,16 +259,6 @@ bool SubversionPlugin::initialize(const QStringList & /*arguments */, QString *e
|
||||
for (int i = 0; i < editorCount; i++)
|
||||
addAutoReleasedObject(new VcsEditorFactory(editorParameters + i, widgetCreator, this, describeSlot));
|
||||
|
||||
auto checkoutWizardFactory = new BaseCheckoutWizardFactory;
|
||||
checkoutWizardFactory->setId(QLatin1String(VcsBase::Constants::VCS_ID_SUBVERSION));
|
||||
checkoutWizardFactory->setIcon(QIcon(QLatin1String(":/subversion/images/subversion.png")));
|
||||
checkoutWizardFactory->setDescription(tr("Checks out a Subversion repository and tries to load the contained project."));
|
||||
checkoutWizardFactory->setDisplayName(tr("Subversion Checkout"));
|
||||
checkoutWizardFactory->setWizardCreator([this] (const FileName &path, QWidget *parent) {
|
||||
return new CheckoutWizard(path, parent);
|
||||
});
|
||||
addAutoReleasedObject(checkoutWizardFactory);
|
||||
|
||||
const QString prefix = QLatin1String("svn");
|
||||
m_commandLocator = new CommandLocator("Subversion", prefix, prefix);
|
||||
addAutoReleasedObject(m_commandLocator);
|
||||
|
||||
Reference in New Issue
Block a user