mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix potential crash internally to Qt when removing tree widget items
This commit is contained in:
@@ -556,6 +556,7 @@ void RDTreeWidgetItem::clear()
|
||||
for(RDTreeWidgetItem *c : children)
|
||||
{
|
||||
c->m_parent = NULL;
|
||||
c->m_widget = NULL;
|
||||
delete c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user