forked from qt-creator/qt-creator
CVS: Replace CVS checkout wizard with a Json wizard
Change-Id: I27c5c76923bae3e4df514e228873330fd8232c7f 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:
@@ -35,7 +35,6 @@
|
||||
#include "cvsclient.h"
|
||||
#include "cvsconstants.h"
|
||||
#include "cvscontrol.h"
|
||||
#include "checkoutwizard.h"
|
||||
|
||||
#include <vcsbase/basevcseditorfactory.h>
|
||||
#include <vcsbase/basevcssubmiteditorfactory.h>
|
||||
@@ -266,16 +265,6 @@ bool CvsPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
for (int i = 0; i < editorCount; i++)
|
||||
addAutoReleasedObject(new VcsEditorFactory(editorParameters + i, widgetCreator, this, describeSlotC));
|
||||
|
||||
auto checkoutWizardFactory = new BaseCheckoutWizardFactory;
|
||||
checkoutWizardFactory->setId(QLatin1String(VcsBase::Constants::VCS_ID_CVS));
|
||||
checkoutWizardFactory->setIcon(QIcon(QLatin1String(":/cvs/images/cvs.png")));
|
||||
checkoutWizardFactory->setDescription(tr("Checks out a CVS repository and tries to load the contained project."));
|
||||
checkoutWizardFactory->setDisplayName(tr("CVS Checkout"));
|
||||
checkoutWizardFactory->setWizardCreator([this] (const FileName &path, QWidget *parent) {
|
||||
return new CheckoutWizard(path, parent);
|
||||
});
|
||||
addAutoReleasedObject(checkoutWizardFactory);
|
||||
|
||||
const QString prefix = QLatin1String("cvs");
|
||||
m_commandLocator = new CommandLocator("CVS", prefix, prefix);
|
||||
addAutoReleasedObject(m_commandLocator);
|
||||
|
Reference in New Issue
Block a user