forked from qt-creator/qt-creator
Debugger: Remove use of addAutoReleasedObject
Change-Id: I9a435448e05f56521eaca7f6ba2ac7780950fa18 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1038,6 +1038,8 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(DebuggerPlugin *plugin)
|
||||
|
||||
DebuggerPluginPrivate::~DebuggerPluginPrivate()
|
||||
{
|
||||
delete debuggerConsole();
|
||||
|
||||
qDeleteAll(m_optionPages);
|
||||
m_optionPages.clear();
|
||||
|
||||
@@ -1272,8 +1274,6 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
|
||||
"Debugger.Views.OpenMemoryEditor", debugcontext);
|
||||
cmd->setAttribute(Command::CA_Hide);
|
||||
|
||||
m_plugin->addAutoReleasedObject(debuggerConsole());
|
||||
|
||||
TaskHub::addCategory(TASK_CATEGORY_DEBUGGER_DEBUGINFO,
|
||||
tr("Debug Information"));
|
||||
TaskHub::addCategory(TASK_CATEGORY_DEBUGGER_RUNTIME,
|
||||
|
||||
Reference in New Issue
Block a user