forked from qt-creator/qt-creator
DiffEditor: Remove unneeded used of global object pool
Change-Id: I7b1cd980702313e3ef2501519aa64042d4483bb8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user