Add a tooltip
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 31 Jan 2008 22:19:21 +0000 (22:19 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 31 Jan 2008 22:19:21 +0000 (22:19 +0000)
modules/gui/qt4/components/playlist/standardpanel.cpp

index 745e56f..5e43796 100644 (file)
@@ -137,7 +137,8 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     buttons->addWidget( repeatButton );
 
     /* Goto */
-    gotoPlayingButton = new QPushButton( qtr( "X" ), this );
+    gotoPlayingButton = new QPushButton( "X" , this );
+    gotoPlayingButton->setToolTip( qtr( "Show the current item" ));
     BUTTONACT( gotoPlayingButton, gotoPlayingItem() );
     buttons->addWidget( gotoPlayingButton );