Commit 1be10d3b authored by hjk's avatar hjk
Browse files

debugger: the mainwindow does not have to be in the plugin object pool

parent a08bf9ca
...@@ -1424,7 +1424,6 @@ DebuggerPluginPrivate::~DebuggerPluginPrivate() ...@@ -1424,7 +1424,6 @@ DebuggerPluginPrivate::~DebuggerPluginPrivate()
delete m_debuggerSettings; delete m_debuggerSettings;
m_debuggerSettings = 0; m_debuggerSettings = 0;
m_plugin->removeObject(m_mainWindow);
delete m_mainWindow; delete m_mainWindow;
m_mainWindow = 0; m_mainWindow = 0;
...@@ -1455,7 +1454,6 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, ...@@ -1455,7 +1454,6 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
// Cpp/Qml ui setup // Cpp/Qml ui setup
m_mainWindow = new DebuggerMainWindow; m_mainWindow = new DebuggerMainWindow;
m_plugin->addObject(m_mainWindow);
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment