ResourceEditor: Remove unneeded use of global object pool

Change-Id: Ie293314c034d679dee82fc15f7d4a71a5bdbacb7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2018-02-09 15:44:03 +01:00
parent 7fea244019
commit 56e8752a29

View File

@@ -122,8 +122,7 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err
Q_UNUSED(arguments) Q_UNUSED(arguments)
Q_UNUSED(errorMessage) Q_UNUSED(errorMessage)
ResourceEditorFactory *editor = new ResourceEditorFactory(this); (void) new ResourceEditorFactory(this);
addAutoReleasedObject(editor);
// Register undo and redo // Register undo and redo
const Core::Context context(Constants::C_RESOURCEEDITOR); const Core::Context context(Constants::C_RESOURCEEDITOR);