diff options
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 16 |
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())); |