Commit 9ec81c11 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf

Qt: Use RejectRole for close button

Close #6085
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 8d5bff61)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fd6840e2
...@@ -134,7 +134,7 @@ VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCDialog( (QWidget*)_p_intf-> ...@@ -134,7 +134,7 @@ VLMDialog::VLMDialog( intf_thread_t *_p_intf ) : QVLCDialog( (QWidget*)_p_intf->
ui.buttonBox->addButton( exportButton, QDialogButtonBox::ActionRole ); ui.buttonBox->addButton( exportButton, QDialogButtonBox::ActionRole );
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) ); QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
ui.buttonBox->addButton( closeButton, QDialogButtonBox::AcceptRole ); ui.buttonBox->addButton( closeButton, QDialogButtonBox::RejectRole );
showScheduleWidget( QVLM_Broadcast ); showScheduleWidget( QVLM_Broadcast );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment