CAF: Delete of object is handled by Qt

Delete of m_proxyEditor caused memory corruption. Qt will delete the
object, as this is parent to m_proxyEditor
This commit is contained in:
Magne Sjaastad committed 2013-10-23 10:38:01 +02:00
1 parent bcc1482532
commit 785efe55e8
1 file changed
-5
@@ -88,11 +88,6 @@ PdmUiTreeViewEditor::PdmUiTreeViewEditor()
//--------------------------------------------------------------------------------------------------
PdmUiTreeViewEditor::~PdmUiTreeViewEditor()
{
if (m_proxyEditor)
{
delete m_proxyEditor;
m_proxyEditor = NULL;
}
}
//--------------------------------------------------------------------------------------------------