[vlc-devel] commit: Qt: add a tooltip for people who don' t get that save will close the dialog. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Feb 15 17:55:28 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 15 17:52:50 2009 +0100| [3b2fa350046ba5b15c1f3837e5364e77dd5a8fad] | committer: Jean-Baptiste Kempf 

Qt: add a tooltip for people who don't get that save will close the dialog.

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

 modules/gui/qt4/dialogs/preferences.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 429a656..06b2f5c 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -81,6 +81,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
     /* Buttons */
     QDialogButtonBox *buttonsBox = new QDialogButtonBox();
     QPushButton *save = new QPushButton( qtr( "&Save" ) );
+    save->setToolTip( qtr( "Save and close the dialog" ) );
     QPushButton *cancel = new QPushButton( qtr( "&Cancel" ) );
     QPushButton *reset = new QPushButton( qtr( "&Reset Preferences" ) );
 




More information about the vlc-devel mailing list