Commit f2865460 authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: connect accepted/rejected from correct widget

parent 830a1215
......@@ -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