diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 17:26:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-29 17:26:57 +0200 |
commit | 6d08285f89b1d50204ae2569cbc2e0d9dac44d65 (patch) | |
tree | 1c98c50a2be28e77fffa95c1d1e2d41544629048 | |
parent | 7b7bf73901823c1031bad1c87599932213e1140d (diff) |
Remove potential artifacts
-rw-r--r-- | ftnoir_tracker_ht/video_widget.h | 2 | ||||
-rw-r--r-- | ftnoir_tracker_pt/video_widget.h | 2 |
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:
|