Qt4: Always parent all preferences to avoid funny windows/widget effects.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 19 Sep 2008 02:12:07 +0000 (19:12 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 19 Sep 2008 02:12:07 +0000 (19:12 -0700)
modules/gui/qt4/components/complete_preferences.cpp

index 37d2d64..6967290 100644 (file)
@@ -472,10 +472,10 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
         ConfigControl *control;
         if( ! box )
             control = ConfigControl::createControl( VLC_OBJECT( p_intf ),
-                                        p_item, NULL, layout, i_line );
+                                        p_item, this, layout, i_line );
         else
             control = ConfigControl::createControl( VLC_OBJECT( p_intf ),
-                                    p_item, NULL, boxlayout, i_boxline );
+                                    p_item, this, boxlayout, i_boxline );
         if( !control )
             continue;