summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_tracker_ht/video_widget.h2
-rw-r--r--ftnoir_tracker_pt/video_widget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_ht/video_widget.h b/ftnoir_tracker_ht/video_widget.h
index 0d625d29..87b6278a 100644
--- a/ftnoir_tracker_ht/video_widget.h
+++ b/ftnoir_tracker_ht/video_widget.h
@@ -29,7 +29,7 @@ protected slots:
void paintEvent( QPaintEvent* e ) {
QMutexLocker foo(&mtx);
QPainter painter(this);
- painter.drawPixmap(e->rect(), pixmap);
+ painter.drawPixmap(e->rect(), pixmap, e->rect());
}
private:
QMutex mtx;
diff --git a/ftnoir_tracker_pt/video_widget.h b/ftnoir_tracker_pt/video_widget.h
index 769e9d45..66959fde 100644
--- a/ftnoir_tracker_pt/video_widget.h
+++ b/ftnoir_tracker_pt/video_widget.h
@@ -31,7 +31,7 @@ protected slots:
void paintEvent( QPaintEvent* e ) {
QMutexLocker foo(&mtx);
QPainter painter(this);
- painter.drawPixmap(e->rect(), pixmap);
+ painter.drawPixmap(e->rect(), pixmap, e->rect());
}
private: