[vlc-commits] Qt: Use RejectRole for close button

Edward Wang git at videolan.org
Wed Feb 22 00:11:44 CET 2012


vlc/vlc-2.0 | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Feb 19 09:38:43 2012 -0500| [9ec81c11bda8ccb943107487ada5af2f995cdee3] | committer: Jean-Baptiste Kempf

Qt: Use RejectRole for close button

Close #6085

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 8d5bff61c4eb64b855a1750c729a81973a067159)

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

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

 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 );



More information about the vlc-commits mailing list