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 8d5bff61c4eb64b855a1750c729a81973a067159)
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->
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 );
......
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