mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -88,11 +88,6 @@ PdmUiTreeViewEditor::PdmUiTreeViewEditor()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
PdmUiTreeViewEditor::~PdmUiTreeViewEditor()
|
||||
{
|
||||
if (m_proxyEditor)
|
||||
{
|
||||
delete m_proxyEditor;
|
||||
m_proxyEditor = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user