aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-02-09 15:44:03 +0100
committerhjk <hjk@qt.io>2018-02-12 11:15:08 +0000
commit56e8752a29f522a0225b4d69c0b9fce47b978c04 (patch)
tree81f76f405ba7c7e32ac17fe72c20c416b9b9b0b1 /src/plugins/resourceeditor
parent7fea244019f4865c2e18d8d869fdae6bdae4962c (diff)
ResourceEditor: Remove unneeded use of global object pool
Change-Id: Ie293314c034d679dee82fc15f7d4a71a5bdbacb7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor')
-rw-r--r--src/plugins/resourceeditor/resourceeditorplugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp
index bc28f94747..c98035cdb5 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);