[vlc-devel] [PATCH] Qt: Use RejectRole for close button

Edward Wang edward.c.wang at compdigitec.com
Sun Feb 19 15:38:43 CET 2012


Close #6085
---
 modules/gui/qt4/dialogs/vlm.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 03305f3..a4e2736 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -134,7 +134,7 @@ VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCDialog( (QWidget*)_p_intf->
     ui.buttonBox->addButton( exportButton, QDialogButtonBox::ActionRole );
 
     QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
-    ui.buttonBox->addButton( closeButton, QDialogButtonBox::AcceptRole );
+    ui.buttonBox->addButton( closeButton, QDialogButtonBox::RejectRole );
 
 
     showScheduleWidget( QVLM_Broadcast );
-- 
1.7.5.4




More information about the vlc-devel mailing list