Commit ee028586 authored by Nicolas Carion's avatar Nicolas Carion

fix cleaning of assetparameterview

parent 5a530c88
......@@ -67,7 +67,8 @@ void AssetParameterView::unsetModel()
m_widgets.clear();
QLayoutItem *child;
while ((child = m_lay->takeAt(0)) != nullptr) {
delete child;
delete child->widget();
delete child->spacerItem();
}
// Release ownership of smart pointer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment