diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 16:54:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 16:54:54 +0200 |
commit | 9cc964b09e2b6076ad759485022dfdc48a22d9e1 (patch) | |
tree | 7f631eb6ec56ca0cfb560a8de9a09439f89f05c1 /ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | |
parent | c6f2c4c1f6fce0d91ec975ea19b25b52d9bd13d4 (diff) |
Avoid crashes in video frame
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.cpp')
-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 09e758c7..f18671e2 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -177,7 +177,7 @@ void Tracker::StartTracker(QFrame* videoframe) videoframe->setLayout(layout);
video_widget->resize(VIDEO_FRAME_WIDTH, VIDEO_FRAME_HEIGHT);
videoframe->show();
- connect(&timer, SIGNAL(timeout()), this, SLOT(paint_widget()), Qt::QueuedConnection);
+ connect(&timer, SIGNAL(timeout()), this, SLOT(paint_widget()));
timer.start(40);
camera.start();
start();
|