]> git.sesse.net Git - vlc/commitdiff
Qt: add better tooltip to timelabel
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 28 Mar 2010 19:20:01 +0000 (21:20 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Mar 2010 20:12:17 +0000 (22:12 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/components/interface_widgets.cpp

index 2409bf163dc99cd2aae26a65d096a11a7b5d010f..ce17b9d7f1abe0f4f6531eb09f0b78059eaa7326 100644 (file)
@@ -603,7 +603,10 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf  )
     b_remainingTime = false;
     setText( " --:--/--:-- " );
     setAlignment( Qt::AlignRight | Qt::AlignVCenter );
-    setToolTip( qtr( "Toggle between elapsed and remaining time" ) );
+    setToolTip( QString( "- " )
+        + qtr( "Click to toggle between elapsed and remaining time" )
+        + QString( "\n- " )
+        + qtr( "Double click to jump to a chosen time position" ) );
     bufTimer->setSingleShot( true );
 
     CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ),