From 5282d1004ee13c1149284e15b1dc324448069ff7 Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Mon, 2 Feb 2009 11:13:31 -0400 Subject: [PATCH] Connecting slots/signals (now the dialog will react to clicking to it's buttons). --- dlgGoogleDataConf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlgGoogleDataConf.cpp b/dlgGoogleDataConf.cpp index 8c847ae..4233b69 100644 --- a/dlgGoogleDataConf.cpp +++ b/dlgGoogleDataConf.cpp @@ -5,6 +5,6 @@ dlgGoogleDataConf::dlgGoogleDataConf(QWidget *parent): QDialog(parent) { setupUi(this); - /* TODO: connect signals here */ - + connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); + connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); } -- 2.11.4.GIT