Commit 3da5ea41 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

qt4: open_panels: Simplification

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d3f18b52
......@@ -1348,11 +1348,7 @@ void CaptureOpenPanel::advancedDialog()
updateMRL();
msg_Dbg( p_intf, "%s", qtu( advMRL ) );
}
for( int i = 0; i < controls.size(); i++ )
{
ConfigControl *control = controls[i];
delete control ;
}
qDeleteAll( controls );
delete adv;
module_config_free( p_config );
module_release (p_module);
......
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