[vlc-commits] Qt: provide a tooltip for icon-only button
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 27 13:39:29 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 27 12:07:17 2011 +0200| [8531607750507220040d90e448a1eaeebb4265d4] | committer: Jean-Baptiste Kempf
Qt: provide a tooltip for icon-only button
This is better for accessibility, I think
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8531607750507220040d90e448a1eaeebb4265d4
---
modules/gui/qt4/dialogs/messages.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/dialogs/messages.cpp b/modules/gui/qt4/dialogs/messages.cpp
index f78e87b..f807d42 100644
--- a/modules/gui/qt4/dialogs/messages.cpp
+++ b/modules/gui/qt4/dialogs/messages.cpp
@@ -92,6 +92,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
"(keyword 'all' to applies to all objects)");
updateButton = new QPushButton( QIcon(":/update"), "" );
+ updateButton->setToolTip( qtr("Update the tree") );
ui.mainTab->setCornerWidget( updateButton );
updateButton->setVisible( false );
updateButton->setFlat( true );
More information about the vlc-commits
mailing list