forked from qt-creator/qt-creator
Fix empty contents in git show editor
Task-number: QTCREATORBUG-11314 Change-Id: I8a74c174be4436797bf04904e708e26e9463ddcf Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
This commit is contained in:
@@ -49,6 +49,8 @@ DiffShowEditorFactory::DiffShowEditorFactory(QObject *parent)
|
|||||||
Core::IEditor *DiffShowEditorFactory::createEditor()
|
Core::IEditor *DiffShowEditorFactory::createEditor()
|
||||||
{
|
{
|
||||||
DiffEditorWidget *editorWidget = new DiffEditorWidget();
|
DiffEditorWidget *editorWidget = new DiffEditorWidget();
|
||||||
|
DiffEditorController *editorController = new DiffEditorController(editorWidget);
|
||||||
|
editorWidget->setDiffEditorController(editorController);
|
||||||
DiffShowEditor *editor = new DiffShowEditor(editorWidget);
|
DiffShowEditor *editor = new DiffShowEditor(editorWidget);
|
||||||
return editor;
|
return editor;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user