mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 13:21:45 +00:00
Fix potential crash internally to Qt when removing tree widget items
This commit is contained in:
1 file changed
+1
@@ -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