[vlc-devel] commit: Qt4: fix remaining preferences intempestive popups. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Oct 4 18:22:03 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Oct  2 15:03:11 2008 -0700| [9e43b17df26205dfdbe73fb4da0f7eac0b024b26] | committer: Jean-Baptiste Kempf 

Qt4: fix remaining preferences intempestive popups.

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

 .../gui/qt4/components/complete_preferences.cpp    |    2 +-
 modules/gui/qt4/components/preferences_widgets.cpp |    2 +-
 2 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 b3b6486..64416ee 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -453,7 +453,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                 layout->addWidget( box, i_line, 0, 1, -1 );
                 i_line++;
             }
-            box = new QGroupBox( qtr( p_item->psz_text ) );
+            box = new QGroupBox( qtr( p_item->psz_text ), this );
             box->hide();
             boxlayout = new QGridLayout();
         }
diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index c50957f..588a6a9 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -610,7 +610,7 @@ ModuleListConfigControl::ModuleListConfigControl( vlc_object_t *_p_this,
     /* Special Hack */
     if( !p_item->psz_text ) return;
 
-    groupBox = new QGroupBox ( qtr(p_item->psz_text) );
+    groupBox = new QGroupBox ( qtr(p_item->psz_text), _parent );
     text = new QLineEdit;
     QGridLayout *layoutGroupBox = new QGridLayout( groupBox );
 




More information about the vlc-devel mailing list