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
2013-10-23 10:38:01 +02:00
parent bcc1482532
commit 785efe55e8

View File

@@ -88,11 +88,6 @@ PdmUiTreeViewEditor::PdmUiTreeViewEditor()
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
PdmUiTreeViewEditor::~PdmUiTreeViewEditor() PdmUiTreeViewEditor::~PdmUiTreeViewEditor()
{ {
if (m_proxyEditor)
{
delete m_proxyEditor;
m_proxyEditor = NULL;
}
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------