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

Francois Cartegnie git at videolan.org
Mon Feb 20 19:43:07 CET 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 20 19:41:08 2012 +0100| [17779413432c3e6bfb0233ed5fac90a5f058510b] | committer: Francois Cartegnie

Qt: plugins: close() is RejectRole

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

 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 01ce287..b6ff89dc 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 ) );
@@ -565,7 +565,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