summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-25 12:03:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-25 12:03:24 +0200
commit9305fd709aca679a96784f304cc5103178301125 (patch)
tree2350799053c5b3e9ff67b408bad0c1835d63b5d7 /ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
parentab1394534a8439eea139d6d3fe85e211a7d19e2a (diff)
hydra: add ui layouts
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
index 165f8573..fa674662 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
@@ -38,8 +38,8 @@ QWidget()
ui.setupUi( this );
// Connect Qt signals to member-functions
- connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
- connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
+ connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
+ connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(ui.chkEnableRoll, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int)));
connect(ui.chkEnablePitch, SIGNAL(stateChanged(int)), this, SLOT(settingChanged(int)));