[vlc-devel] commit: Qt4: Always parent all preferences to avoid funny windows/ widget effects. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Sep 19 04:11:43 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 19:12:07 2008 -0700| [897085106a0d5311d96d68d213cbdcd70fba0e28] | committer: Jean-Baptiste Kempf 

Qt4: Always parent all preferences to avoid funny windows/widget effects.
(cherry picked from commit 9747e57450a51020af9b7754b5369a1e6b4bf84b)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=897085106a0d5311d96d68d213cbdcd70fba0e28
---

 .../gui/qt4/components/complete_preferences.cpp    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index 37d2d64..6967290 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -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;
 




More information about the vlc-devel mailing list