mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 00:32:46 +00:00
Merge pull request #11784 from Tatsuya79/patch-4
qt: attempt to fix memory leak in shader panel
This commit is contained in:
commit
c01b2dea17
@ -166,7 +166,7 @@ void ShaderParamsDialog::clearLayout()
|
|||||||
if (m_scrollArea)
|
if (m_scrollArea)
|
||||||
{
|
{
|
||||||
foreach (QObject *obj, children())
|
foreach (QObject *obj, children())
|
||||||
obj->deleteLater();
|
delete obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_layout = new QVBoxLayout();
|
m_layout = new QVBoxLayout();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user