vlc/vlc-2.0 | branch: master | Francois Cartegnie <fcvlc...@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 <j...@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 );

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to