diff --git a/lib/utils/layout-helpers.cpp b/lib/utils/layout-helpers.cpp index b34a0979..d5817ede 100644 --- a/lib/utils/layout-helpers.cpp +++ b/lib/utils/layout-helpers.cpp @@ -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); }