Commit 05d3d3a1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: short simplification

parent 72852e3b
...@@ -358,12 +358,11 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent ) ...@@ -358,12 +358,11 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
CONNECT( normalSpeedButton, clicked(), this, resetRate() ); CONNECT( normalSpeedButton, clicked(), this, resetRate() );
QVBoxLayout *speedControlLayout = new QVBoxLayout; QVBoxLayout *speedControlLayout = new QVBoxLayout( this );
speedControlLayout->setLayoutMargins( 4, 4, 4, 4, 4 ); speedControlLayout->setLayoutMargins( 4, 4, 4, 4, 4 );
speedControlLayout->setSpacing( 4 ); speedControlLayout->setSpacing( 4 );
speedControlLayout->addWidget( speedSlider ); speedControlLayout->addWidget( speedSlider );
speedControlLayout->addWidget( normalSpeedButton ); speedControlLayout->addWidget( normalSpeedButton );
setLayout( speedControlLayout );
activateOnState(); activateOnState();
} }
......
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