summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/video_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_pt/video_widget.h')
-rw-r--r--ftnoir_tracker_pt/video_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/video_widget.h b/ftnoir_tracker_pt/video_widget.h
index 57be8bff..769e9d45 100644
--- a/ftnoir_tracker_pt/video_widget.h
+++ b/ftnoir_tracker_pt/video_widget.h
@@ -29,7 +29,7 @@ public:
void update_image(cv::Mat frame, std::auto_ptr< std::vector<cv::Vec2f> >);
protected slots:
void paintEvent( QPaintEvent* e ) {
- QMutexLocker((QMutex*)&mtx);
+ QMutexLocker foo(&mtx);
QPainter painter(this);
painter.drawPixmap(e->rect(), pixmap);
}