[vlc-commits] commit: Qt: add better tooltip to timelabel (Francois Cartegnie )
git at videolan.org
git at videolan.org
Sun Mar 28 23:14:05 CEST 2010
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar 28 21:20:01 2010 +0200| [b0ccb760b40ed5a1c98cee40c048c6c057bdea58] | committer: Jean-Baptiste Kempf
Qt: add better tooltip to timelabel
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0ccb760b40ed5a1c98cee40c048c6c057bdea58
---
modules/gui/qt4/components/interface_widgets.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 2409bf1..ce17b9d 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -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 ),
More information about the vlc-commits
mailing list