Changeset c67c2cd7206fe4c2e7992555bc0577dcfaf4da7a

Show
Ignore:
Timestamp:
03/11/08 05:23:23 (6 months ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1205209403 -0700
git-parent:

[fd9d431500c57afe9d014e5d30d54b9378afc484]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1205209403 -0700
Message:

Set the correct ToolTip? on the play/pause button.
Should close #1485

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/components/interface_widgets.cpp

    rdd22c22 rc67c2cd  
    724724void ControlsWidget::setStatus( int status ) 
    725725{ 
    726     if( status == PLAYING_S ) // Playing 
     726    if( status == PLAYING_S ) /* Playing */ 
     727    { 
    727728        playButton->setIcon( QIcon( ":/pixmaps/pause.png" ) ); 
     729        playButton->setToolTip( qtr( "Pause" ) ); 
     730    } 
    728731    else 
     732    { 
    729733        playButton->setIcon( QIcon( ":/pixmaps/play.png" ) ); 
     734        playButton->setToolTip( qtr( "Play" ) ); 
     735    } 
    730736} 
    731737