Commit 421a5229 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix play button state after toolbar customization

Close #10850
parent 24db1563
......@@ -241,6 +241,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
CONNECT_MAP_SET( playButton, PLAY_ACTION );
CONNECT( this, inputPlaying( bool ),
playButton, updateButtonIcons( bool ));
playButton->updateButtonIcons( THEMIM->getIM()->playingStatus() == PLAYING_S );
widget = playButton;
}
break;
......
......@@ -52,7 +52,7 @@ class QAbstractSlider;
class PlayButton : public QToolButton
{
Q_OBJECT
private slots:
public slots:
void updateButtonIcons( bool );
};
......
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