forked from qt-creator/qt-creator
Modeleditor: Use a JSON-based wizard
Use a JSON wizard in favor of implementing the same thing in code. Change-Id: I5952bf417255fb75378e42e3e80b13c0a0d3d317 Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include "modelsmanager.h"
|
||||
#include "settingscontroller.h"
|
||||
#include "modeleditor_constants.h"
|
||||
#include "modeleditor_file_wizard.h"
|
||||
#include "uicontroller.h"
|
||||
#include "jsextension.h"
|
||||
|
||||
@@ -103,10 +102,6 @@ bool ModelEditorPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
d->uiController = new UiController(this);
|
||||
addAutoReleasedObject(d->uiController);
|
||||
|
||||
Core::IWizardFactory::registerFactoryCreator([]() {
|
||||
return QList<Core::IWizardFactory *>() << new FileWizardFactory;
|
||||
});
|
||||
|
||||
d->modelFactory = new ModelEditorFactory(d->uiController, this);
|
||||
addAutoReleasedObject(d->modelFactory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user