DiffEditor: Remove unneeded used of global object pool

Change-Id: I7b1cd980702313e3ef2501519aa64042d4483bb8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-02-07 11:53:12 +01:00
parent 231b4329df
commit abe57f73b4

View File

@@ -504,8 +504,8 @@ bool DiffEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
updateDiffCurrentFileAction();
updateDiffOpenFilesAction();
addAutoReleasedObject(new DiffEditorFactory(this));
addAutoReleasedObject(new DiffEditorServiceImpl(this));
new DiffEditorFactory(this);
new DiffEditorServiceImpl(this);
return true;
}