summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-22 02:40:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-22 02:40:02 +0200
commit8503f538d18f8df0f18ee4973e96f3889a11419a (patch)
treecc7c65a8911ed7f897070d9c9898506c9a414a74 /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parentd7d733131d62777481c9a72fee9005dd58cf0c74 (diff)
optimize HT widget refresh
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 62606395..d14fa5e0 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -184,15 +184,6 @@ void Tracker::StartTracker(QFrame* videoframe)
#else
subprocess.start(QCoreApplication::applicationDirPath() + "/tracker-ht/headtracker-ftnoir");
#endif
- connect(&timer, SIGNAL(timeout()), this, SLOT(paint_widget()));
- timer.start(40);
-}
-
-void Tracker::paint_widget() {
- if (fresh) {
- fresh = false;
- videoWidget->update();
- }
}
bool Tracker::GiveHeadPoseData(double *data)