Commit 72268285 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Qt4 unparented widgets

parent 75c5fe13
...@@ -487,7 +487,7 @@ QFrame *AbstractController::telexFrame() ...@@ -487,7 +487,7 @@ QFrame *AbstractController::telexFrame()
telexFrame, setVisible( bool ) ); telexFrame, setVisible( bool ) );
/* On/Off button */ /* On/Off button */
QToolButton *telexOn = new QToolButton; QToolButton *telexOn = new QToolButton( this );
telexFrame->telexOn = telexOn; telexFrame->telexOn = telexOn;
setupButton( telexOn ); setupButton( telexOn );
BUTTON_SET_BAR2( telexOn, tv, qtr( "Teletext Activation" ) ); BUTTON_SET_BAR2( telexOn, tv, qtr( "Teletext Activation" ) );
...@@ -501,7 +501,7 @@ QFrame *AbstractController::telexFrame() ...@@ -501,7 +501,7 @@ QFrame *AbstractController::telexFrame()
/* Transparency button */ /* Transparency button */
QToolButton *telexTransparent = new QToolButton; QToolButton *telexTransparent = new QToolButton( this );
telexFrame->telexTransparent = telexTransparent; telexFrame->telexTransparent = telexTransparent;
setupButton( telexTransparent ); setupButton( telexTransparent );
BUTTON_SET_BAR2( telexTransparent, tvtelx, BUTTON_SET_BAR2( telexTransparent, tvtelx,
...@@ -518,7 +518,7 @@ QFrame *AbstractController::telexFrame() ...@@ -518,7 +518,7 @@ QFrame *AbstractController::telexFrame()
/* Page setting */ /* Page setting */
QSpinBox *telexPage = new QSpinBox; QSpinBox *telexPage = new QSpinBox( this );
telexFrame->telexPage = telexPage; telexFrame->telexPage = telexPage;
telexPage->setRange( 0, 999 ); telexPage->setRange( 0, 999 );
telexPage->setValue( 100 ); telexPage->setValue( 100 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment