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

git version control git at videolan.org
Sat Oct 4 20:22:01 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Oct  2 15:03:11 2008 -0700| [8edbefcd9a24ee1c957a5c939429f0ca2ec42a18] | committer: Jean-Baptiste Kempf 

Qt4: fix remaining preferences intempestive popups.
(cherry picked from commit 9e43b17df26205dfdbe73fb4da0f7eac0b024b26)

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

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

 .../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 6967290..7284a5a 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -457,7 +457,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 4f3757a..920196d 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -613,7 +613,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