mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-11-17 23:25:15 -06:00
Fix double delete of nested layouts in ClearLayout
This commit is contained in:
@@ -78,7 +78,6 @@ void ClearLayout(QLayout *layout, int afterIdx)
|
||||
while ((item = layout->takeAt(afterIdx))) {
|
||||
if (item->layout()) {
|
||||
ClearLayout(item->layout());
|
||||
delete item->layout();
|
||||
}
|
||||
DeleteLayoutItemWidget(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user