[vlc-devel] commit: Qt4 unparented widgets ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Feb 10 21:37:54 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Feb 10 22:35:02 2009 +0200| [72268285a6ad32f3480ae9339e279952268aa79c] | committer: Rémi Denis-Courmont 

Qt4 unparented widgets

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

 modules/gui/qt4/components/controller.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index f41037c..46ecdbc 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -487,7 +487,7 @@ QFrame *AbstractController::telexFrame()
              telexFrame, setVisible( bool ) );
 
     /* On/Off button */
-    QToolButton *telexOn = new QToolButton;
+    QToolButton *telexOn = new QToolButton( this );
     telexFrame->telexOn = telexOn;
     setupButton( telexOn );
     BUTTON_SET_BAR2( telexOn, tv, qtr( "Teletext Activation" ) );
@@ -501,7 +501,7 @@ QFrame *AbstractController::telexFrame()
 
 
     /* Transparency button */
-    QToolButton *telexTransparent = new QToolButton;
+    QToolButton *telexTransparent = new QToolButton( this );
     telexFrame->telexTransparent = telexTransparent;
     setupButton( telexTransparent );
     BUTTON_SET_BAR2( telexTransparent, tvtelx,
@@ -518,7 +518,7 @@ QFrame *AbstractController::telexFrame()
 
 
     /* Page setting */
-    QSpinBox *telexPage = new QSpinBox;
+    QSpinBox *telexPage = new QSpinBox( this );
     telexFrame->telexPage = telexPage;
     telexPage->setRange( 0, 999 );
     telexPage->setValue( 100 );




More information about the vlc-devel mailing list