Commit 74579daa authored by Ilkka Ollakka's avatar Ilkka Ollakka

QT4: set initial state of randombutton correctly

parent 9be39f72
...@@ -121,6 +121,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent, ...@@ -121,6 +121,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
randomButton->setIcon( QIcon( ":/shuffle_on" )); randomButton->setIcon( QIcon( ":/shuffle_on" ));
randomButton->setToolTip( qtr( I_PL_RANDOM )); randomButton->setToolTip( qtr( I_PL_RANDOM ));
randomButton->setCheckable( true ); randomButton->setCheckable( true );
randomButton->setChecked( model->hasRandom() );
BUTTONACT( randomButton, toggleRandom() ); BUTTONACT( randomButton, toggleRandom() );
buttons->addWidget( randomButton ); buttons->addWidget( randomButton );
......
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