Commit 89708510 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: Always parent all preferences to avoid funny windows/widget effects.

(cherry picked from commit 9747e574)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ad23b037
...@@ -472,10 +472,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -472,10 +472,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ConfigControl *control; ConfigControl *control;
if( ! box ) if( ! box )
control = ConfigControl::createControl( VLC_OBJECT( p_intf ), control = ConfigControl::createControl( VLC_OBJECT( p_intf ),
p_item, NULL, layout, i_line ); p_item, this, layout, i_line );
else else
control = ConfigControl::createControl( VLC_OBJECT( p_intf ), control = ConfigControl::createControl( VLC_OBJECT( p_intf ),
p_item, NULL, boxlayout, i_boxline ); p_item, this, boxlayout, i_boxline );
if( !control ) if( !control )
continue; continue;
......
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