From 8c15b022e699c3d02faee1c34e4344e8021153b0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 18 Oct 2016 18:00:26 +0200 Subject: tracker/pt: show tracker state immediately --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp') diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 68740801..df0da31a 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -18,7 +18,7 @@ TrackerDialog_PT::TrackerDialog_PT() : tracker(nullptr), timer(this) { - ui.setupUi( this ); + ui.setupUi(this); ui.camdevice_combo->addItems(get_camera_names()); @@ -76,6 +76,8 @@ TrackerDialog_PT::TrackerDialog_PT() connect(&calib_timer, &QTimer::timeout, this, &TrackerDialog_PT::trans_calib_step); calib_timer.setInterval(100); + + poll_tracker_info(); } void TrackerDialog_PT::startstop_trans_calib(bool start) -- cgit v1.2.3