From 5fdf8b92e78b2a5690ba0e9642c0d68d8b2e4495 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 27 Apr 2013 18:52:37 +0200 Subject: Fix embarassing locking but propagated through the codebase :( --- ftnoir_tracker_pt/video_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_tracker_pt/video_widget.h') 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 >); protected slots: void paintEvent( QPaintEvent* e ) { - QMutexLocker((QMutex*)&mtx); + QMutexLocker foo(&mtx); QPainter painter(this); painter.drawPixmap(e->rect(), pixmap); } -- cgit v1.2.3