Commit 29b9c7e1 authored by dionoea's avatar dionoea

Apply "[PATCH] controls widget" by Domani Hannes. Thanks.

parent e4bbf1c4
...@@ -349,15 +349,15 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) : ...@@ -349,15 +349,15 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
discLayout->setSpacing( 0 ); discLayout->setSpacing( 0 );
discLayout->setMargin( 0 ); discLayout->setMargin( 0 );
QPushButton *prevSectionButton = new QPushButton( discFrame ); prevSectionButton = new QPushButton( discFrame );
setupSmallButton( prevSectionButton ); setupSmallButton( prevSectionButton );
discLayout->addWidget( prevSectionButton ); discLayout->addWidget( prevSectionButton );
QPushButton *menuButton = new QPushButton( discFrame ); menuButton = new QPushButton( discFrame );
setupSmallButton( menuButton ); setupSmallButton( menuButton );
discLayout->addWidget( menuButton ); discLayout->addWidget( menuButton );
QPushButton *nextSectionButton = new QPushButton( discFrame ); nextSectionButton = new QPushButton( discFrame );
setupSmallButton( nextSectionButton ); setupSmallButton( nextSectionButton );
discLayout->addWidget( nextSectionButton ); discLayout->addWidget( nextSectionButton );
...@@ -391,7 +391,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) : ...@@ -391,7 +391,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
// sizePolicy.setHeightForWidth( playButton->sizePolicy().hasHeightForWidth() ); // sizePolicy.setHeightForWidth( playButton->sizePolicy().hasHeightForWidth() );
/* Play */ /* Play */
QPushButton *playButton = new QPushButton; playButton = new QPushButton;
playButton->setSizePolicy( sizePolicy ); playButton->setSizePolicy( sizePolicy );
playButton->setMaximumSize( QSize( 45, 45 ) ); playButton->setMaximumSize( QSize( 45, 45 ) );
playButton->setIconSize( QSize( 30, 30 ) ); playButton->setIconSize( QSize( 30, 30 ) );
......
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