Commit 19028377 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Ilkka Ollakka

qt4: connect accepted/rejected from correct widget

(cherry picked from commit f28654607fe90415c233bd7cf08f3a5c4493b8d6)
Signed-off-by: default avatarIlkka Ollakka <ileoo@iki.fi>
parent 0f31ca47
......@@ -134,8 +134,8 @@ void DialogHandler::requestLogin (vlc_object_t *, void *value)
buttonBox->addButton( okButton, QDialogButtonBox::AcceptRole );
buttonBox->addButton( cancelButton, QDialogButtonBox::RejectRole );
CONNECT( okButton, accepted(), dialog, accept() );
CONNECT( cancelButton, rejected(), dialog, reject() );
CONNECT( buttonBox, accepted(), dialog, accept() );
CONNECT( buttonBox, rejected(), dialog, reject() );
layout->addWidget (buttonBox);
/* Run the dialog */
......
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