diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-06 22:42:47 -0700 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-06 22:42:47 -0700 |
commit | 1309abb9756e0be882cb48a7d93a7ea8b965c2a3 (patch) | |
tree | 2ccfedc1ae71bebee4931822d0cea081e2ffb94a /ftnoir_tracker_aruco | |
parent | 8762edd0fa1b9131a7e090f9759aba37d6ec64cf (diff) |
ar: fix choosing camera
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 3d034819..b70bef09 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -451,6 +451,7 @@ TrackerControls::TrackerControls() calib_timer.setInterval(200); ui.setupUi(this); setAttribute(Qt::WA_NativeWindow, true); + ui.cameraName->addItems(get_camera_names()); tie_setting(s.camera_index, ui.cameraName); tie_setting(s.resolution, ui.resolution); tie_setting(s.force_fps, ui.cameraFPS); @@ -468,8 +469,6 @@ TrackerControls::TrackerControls() tie_setting(s.marker_pitch, ui.marker_pitch); connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); - ui.cameraName->addItems(get_camera_names()); - connect(ui.btn_calibrate, SIGNAL(clicked()), this, SLOT(toggleCalibrate())); connect(this, SIGNAL(destroyed()), this, SLOT(cleanupCalib())); connect(&calib_timer, SIGNAL(timeout()), this, SLOT(update_tracker_calibration())); |