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

qt4: complete_preferences: Simplifications

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bb91a41b
......@@ -503,12 +503,8 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
void AdvPrefsPanel::apply()
{
QList<ConfigControl *>::Iterator i;
for( i = controls.begin() ; i != controls.end() ; i++ )
{
ConfigControl *c = qobject_cast<ConfigControl *>(*i);
c->doApply( p_intf );
}
foreach ( ConfigControl *cfg, controls )
cfg->doApply( p_intf );
}
void AdvPrefsPanel::clean()
......
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