]> git.sesse.net Git - vlc/commitdiff
Qt: add a tooltip for people who don't get that save will close the dialog.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 15 Feb 2009 16:52:50 +0000 (17:52 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 15 Feb 2009 16:53:13 +0000 (17:53 +0100)
modules/gui/qt4/dialogs/preferences.cpp

index 429a6569302d534c66efc65751e49cf6ebab56c3..06b2f5cd82f83fe17c6a8a55ac0305a440899ae2 100644 (file)
@@ -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" ) );