From 760a596a513474c6f26f64086dea9d378c9b6c54 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Nov 2013 23:07:03 +0100 Subject: fix wrong qt signals --- ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ftnoir_tracker_ht') 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())); -- cgit v1.2.3