diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-04 18:46:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-04 18:46:27 +0100 |
commit | 79119a08157aa954b3b2ecd18c8384b80a03970f (patch) | |
tree | db5332566e6a76f74699bb6eaf146005020e8026 /ftnoir_tracker_ht/ht_video_widget.cpp | |
parent | 5d51487b70a07f1853f1cbcf84ac5eb635e38bbe (diff) |
draw images directly, without pixmaps
Diffstat (limited to 'ftnoir_tracker_ht/ht_video_widget.cpp')
-rw-r--r-- | ftnoir_tracker_ht/ht_video_widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_ht/ht_video_widget.cpp b/ftnoir_tracker_ht/ht_video_widget.cpp index 8ccec997..c6d59b34 100644 --- a/ftnoir_tracker_ht/ht_video_widget.cpp +++ b/ftnoir_tracker_ht/ht_video_widget.cpp @@ -39,6 +39,6 @@ void HTVideoWidget::update_and_repaint() } } auto qframe2 = qframe.scaled(size(), Qt::IgnoreAspectRatio, Qt::FastTransformation); - pixmap = QPixmap::fromImage(qframe2); + texture = qframe2; update(); } |