[vlc-commits] commit: qt4: connect accepted/rejected from correct widget (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Fri Apr 30 11:45:31 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Apr 30 11:00:14 2010 +0300| [f28654607fe90415c233bd7cf08f3a5c4493b8d6] | committer: Ilkka Ollakka
qt4: connect accepted/rejected from correct widget
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f28654607fe90415c233bd7cf08f3a5c4493b8d6
---
modules/gui/qt4/dialogs/external.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs/external.cpp b/modules/gui/qt4/dialogs/external.cpp
index 3798815..f51645d 100644
--- a/modules/gui/qt4/dialogs/external.cpp
+++ b/modules/gui/qt4/dialogs/external.cpp
@@ -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 */
More information about the vlc-commits
mailing list