forked from qt-creator/qt-creator
ResourceEditor: Remove unneeded use of global object pool
Change-Id: Ie293314c034d679dee82fc15f7d4a71a5bdbacb7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -122,8 +122,7 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorMessage)
|
||||
|
||||
ResourceEditorFactory *editor = new ResourceEditorFactory(this);
|
||||
addAutoReleasedObject(editor);
|
||||
(void) new ResourceEditorFactory(this);
|
||||
|
||||
// Register undo and redo
|
||||
const Core::Context context(Constants::C_RESOURCEEDITOR);
|
||||
|
Reference in New Issue
Block a user