forked from qt-creator/qt-creator
Add DiffEditorController
Change-Id: Ic2f4a38d2ed08426ca7e5229d959b10fa545c129 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -49,6 +49,8 @@ DiffEditorFactory::DiffEditorFactory(QObject *parent)
|
||||
Core::IEditor *DiffEditorFactory::createEditor()
|
||||
{
|
||||
DiffEditorWidget *editorWidget = new DiffEditorWidget();
|
||||
DiffEditorController *editorController = new DiffEditorController(editorWidget);
|
||||
editorWidget->setDiffEditorController(editorController);
|
||||
DiffEditor *editor = new DiffEditor(editorWidget);
|
||||
return editor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user