Merge pull request #11784 from Tatsuya79/patch-4

qt: attempt to fix memory leak in shader panel
This commit is contained in:
Autechre 2020-12-30 01:58:25 +01:00 committed by GitHub
commit c01b2dea17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ void ShaderParamsDialog::clearLayout()
if (m_scrollArea)
{
foreach (QObject *obj, children())
obj->deleteLater();
delete obj;
}
m_layout = new QVBoxLayout();