]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/podcast_configuration.cpp
Qt4 - Open: solve a bug in a signal.
[vlc] / modules / gui / qt4 / dialogs / podcast_configuration.cpp
index f113c14f7aa33ca42d6a22f93e0adc06c7e8971b..617453a4a54de076bde41dabd66b42b2826657cb 100644 (file)
@@ -27,6 +27,10 @@ PodcastConfigurationDialog::PodcastConfigurationDialog( intf_thread_t *_p_intf )
     :p_intf( _p_intf )
 {
     ui.setupUi( this );
+    QPushButton *okButton = new QPushButton( qtr( "OK" ), this );
+    QPushButton *cancelButton = new QPushButton( qtr( "Cancel" ), this );
+    ui.okCancel->addButton( okButton, QDialogButtonBox::AcceptRole );
+    ui.okCancel->addButton( cancelButton, QDialogButtonBox::RejectRole );
     CONNECT( ui.podcastAdd, clicked(), this, add() );
     CONNECT( ui.podcastDelete, clicked(), this, remove() );