Commit b0ccb760 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Qt: add better tooltip to timelabel

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 38c1b482
...@@ -603,7 +603,10 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf ) ...@@ -603,7 +603,10 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf )
b_remainingTime = false; b_remainingTime = false;
setText( " --:--/--:-- " ); setText( " --:--/--:-- " );
setAlignment( Qt::AlignRight | Qt::AlignVCenter ); 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 ); bufTimer->setSingleShot( true );
CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ), CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment