Commit c67c2cd7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Set the correct ToolTip on the play/pause button.

Should close #1485
parent fd9d4315
...@@ -723,10 +723,16 @@ void ControlsWidget::updateInput() ...@@ -723,10 +723,16 @@ void ControlsWidget::updateInput()
void ControlsWidget::setStatus( int status ) void ControlsWidget::setStatus( int status )
{ {
if( status == PLAYING_S ) // Playing if( status == PLAYING_S ) /* Playing */
{
playButton->setIcon( QIcon( ":/pixmaps/pause.png" ) ); playButton->setIcon( QIcon( ":/pixmaps/pause.png" ) );
playButton->setToolTip( qtr( "Pause" ) );
}
else else
{
playButton->setIcon( QIcon( ":/pixmaps/play.png" ) ); playButton->setIcon( QIcon( ":/pixmaps/play.png" ) );
playButton->setToolTip( qtr( "Play" ) );
}
} }
/** /**
......
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