summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/video_widget.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 18:52:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 18:52:37 +0200
commit5fdf8b92e78b2a5690ba0e9642c0d68d8b2e4495 (patch)
tree6a4cab7baf5311fd1e869de329b51514a88aff53 /ftnoir_tracker_ht/video_widget.h
parentf44108df519d4aae5caa0bce62c9f54ca5b8c47a (diff)
Fix embarassing locking but propagated through the codebase :(
Diffstat (limited to 'ftnoir_tracker_ht/video_widget.h')
-rw-r--r--ftnoir_tracker_ht/video_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_ht/video_widget.h b/ftnoir_tracker_ht/video_widget.h
index 7cccc9fb..0d625d29 100644
--- a/ftnoir_tracker_ht/video_widget.h
+++ b/ftnoir_tracker_ht/video_widget.h
@@ -27,7 +27,7 @@ public:
void update_image(unsigned char* frame, int width, int height);
protected slots:
void paintEvent( QPaintEvent* e ) {
- QMutexLocker((QMutex*)&mtx);
+ QMutexLocker foo(&mtx);
QPainter painter(this);
painter.drawPixmap(e->rect(), pixmap);
}