diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-22 02:45:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-22 02:45:39 +0200 |
commit | 576f6d7448c7666d140d613253a8a57d0d8edf4b (patch) | |
tree | 058fde4e6aa3d537336001058e0e934f48ffa6e0 /ftnoir_tracker_ht | |
parent | 6fa9e7bb7810f89b0bcc376c940b0c74ac91fdf3 (diff) |
ht: remove dead code
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 3 | ||||
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index d14fa5e0..010741c6 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -136,7 +136,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker) iniFile.endGroup(); } -Tracker::Tracker() : lck_shm(HT_SHM_NAME, HT_MUTEX_NAME, sizeof(ht_shm_t)), fresh(false) +Tracker::Tracker() : lck_shm(HT_SHM_NAME, HT_MUTEX_NAME, sizeof(ht_shm_t)) { videoWidget = NULL; layout = NULL; @@ -196,7 +196,6 @@ bool Tracker::GiveHeadPoseData(double *data) { videoWidget->update_image(shm->frame.frame, shm->frame.width, shm->frame.height); //memcpy(foo, shm->frame.frame, shm->frame.width * shm->frame.height * 3); - fresh = true; shm->frame.width = 0; } if (shm->result.filled) { diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index e1810232..c19e2d93 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -31,7 +31,6 @@ private: QProcess subprocess; HTVideoWidget* videoWidget; QHBoxLayout* layout; - volatile bool fresh; }; // Widget that has controls for FTNoIR protocol client-settings. |