From 2e436947120262015d11616f029d65618b4b5b20 Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Thu, 31 Jan 2008 22:19:21 +0000 Subject: [PATCH] Add a tooltip --- modules/gui/qt4/components/playlist/standardpanel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index 745e56fc05..5e43796c62 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -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 ); -- 2.11.4.GIT