[vlc-commits] Qt: playlist: add tooltips

Francois Cartegnie git at videolan.org
Thu Sep 8 06:44:37 CEST 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  8 06:31:12 2011 +0200| [4761695cdff9214de4bb356e4ce9d1c25de364dc] | committer: Francois Cartegnie

Qt: playlist: add tooltips

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4761695cdff9214de4bb356e4ce9d1c25de364dc
---

 modules/gui/qt4/components/playlist/playlist.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index 65e6ce5..b958886 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -144,6 +144,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
     searchEdit = new SearchLineEdit( this );
     searchEdit->setMaximumWidth( 250 );
     searchEdit->setMinimumWidth( 80 );
+    searchEdit->setToolTip( qtr("Search the playlist") );
     topbarLayout->addWidget( searchEdit );
     CONNECT( searchEdit, textChanged( const QString& ),
              mainView, search( const QString& ) );
@@ -158,6 +159,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
     zoomSlider->setRange( -10, 10);
     zoomSlider->setPageStep( 3 );
     zoomSlider->setValue( model->getZoom() );
+    zoomSlider->setToolTip( qtr("Zoom playlist") );
     CONNECT( zoomSlider, valueChanged( int ), model, changeZoom( int ) );
     topbarLayout->addWidget( zoomSlider );
 



More information about the vlc-commits mailing list