From 56e8752a29f522a0225b4d69c0b9fce47b978c04 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 9 Feb 2018 15:44:03 +0100 Subject: [PATCH] ResourceEditor: Remove unneeded use of global object pool Change-Id: Ie293314c034d679dee82fc15f7d4a71a5bdbacb7 Reviewed-by: Eike Ziller --- src/plugins/resourceeditor/resourceeditorplugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index bc28f947475..c98035cdb56 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -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);