diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-12 06:12:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-12 06:12:29 +0200 |
commit | 67930efbb74f95ede7b24ac8b3c3e5fc4a9ea95d (patch) | |
tree | 50052d6b31223877bc4ef714c0c71902b1927de7 | |
parent | 041d34fe4eb2f3cde6bab9313c6c2f63e3db4776 (diff) |
prevent spurious debug output all the time
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp index 869c15de..d1e51bfc 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp @@ -122,11 +122,11 @@ void Tracker::apply(settings& s) void Tracker::apply_inner()
{
- qDebug()<<"Tracker:: Applying settings";
settings* tmp = new_settings.exchange(nullptr);
if (tmp == nullptr)
return;
auto& s = *tmp;
+ qDebug()<<"Tracker:: Applying settings";
camera.set_device_index(s.cam_index);
camera.set_res(s.cam_res_x, s.cam_res_y);
camera.set_fps(s.cam_fps);
|