[vlc-commits] Qt: plugins: close() is RejectRole

Francois Cartegnie git at videolan.org
Wed Feb 22 00:11:43 CET 2012


vlc/vlc-2.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 20 19:41:08 2012 +0100| [c5ae3b36bbd642f181460fe0bb97e2f6731f3b07] | committer: Jean-Baptiste Kempf

Qt: plugins: close() is RejectRole
(cherry picked from commit 17779413432c3e6bfb0233ed5fac90a5f058510b)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt4/dialogs/plugins.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index 38f795a..180827d 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -72,7 +72,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 
     QDialogButtonBox *box = new QDialogButtonBox;
     QPushButton *okButton = new QPushButton( qtr( "&Close" ), this );
-    box->addButton( okButton, QDialogButtonBox::AcceptRole );
+    box->addButton( okButton, QDialogButtonBox::RejectRole );
     layout->addWidget( box );
     BUTTONACT( okButton, close() );
     readSettings( "PluginsDialog", QSize( 435, 280 ) );
@@ -567,7 +567,7 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
     // Close button
     QDialogButtonBox *group = new QDialogButtonBox( this );
     QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
-    group->addButton( closeButton, QDialogButtonBox::AcceptRole );
+    group->addButton( closeButton, QDialogButtonBox::RejectRole );
     BUTTONACT( closeButton, close() );
 
     layout->addWidget( group, 7, 0, 1, -1 );



More information about the vlc-commits mailing list