summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-11-03 23:07:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-11-03 23:07:03 +0100
commit760a596a513474c6f26f64086dea9d378c9b6c54 (patch)
tree418f230d36e188e3cd4ddef41c64d2bad5b279bb
parentd5e36efb820e598f2b72ec92905ebfa6a08222c8 (diff)
fix wrong qt signals
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 77eede52..c34acadd 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -281,15 +281,15 @@ TrackerControls::TrackerControls()
{
ui.setupUi(this);
setAttribute(Qt::WA_NativeWindow, true);
- connect(ui.cameraName, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.cameraFPS, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
+ connect(ui.cameraName, SIGNAL(currentIndexChanged(int)), this, SLOT(settingChanged(int)));
+ connect(ui.cameraFPS, SIGNAL(currentIndexChanged(int)), this, SLOT(settingChanged(int)));
connect(ui.cameraFOV, SIGNAL(valueChanged(double)), this, SLOT(settingChanged(double)));
- connect(ui.rx, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.ry, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.rz, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.tx, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.ty, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
- connect(ui.tz, SIGNAL(valueChanged(int)), this, SLOT(settingChanged(int)));
+ connect(ui.rx, SIGNAL(clicked()), this, SLOT(settingChanged()));
+ connect(ui.ry, SIGNAL(clicked()), this, SLOT(settingChanged()));
+ connect(ui.rz, SIGNAL(clicked()), this, SLOT(settingChanged()));
+ connect(ui.tx, SIGNAL(clicked()), this, SLOT(settingChanged()));
+ connect(ui.ty, SIGNAL(clicked()), this, SLOT(settingChanged()));
+ connect(ui.tz, SIGNAL(clicked()), this, SLOT(settingChanged()));
connect(ui.buttonCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
connect(ui.buttonOK, SIGNAL(clicked()), this, SLOT(doOK()));
//connect(ui.buttonSettings, SIGNAL(clicked()), this, SLOT(cameraSettings()));