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 429a656..06b2f5c 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" ) );