mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05: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:
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;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user