diff options
-rw-r--r-- | video/video-widget.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/video/video-widget.cpp b/video/video-widget.cpp index 3e6d9038..e73d34db 100644 --- a/video/video-widget.cpp +++ b/video/video-widget.cpp @@ -43,12 +43,6 @@ void video_widget::paintEvent(QPaintEvent*) { QMutexLocker foo(&mtx); - if (texture.width() != W || texture.height() != H) - { - init_image_nolock(); - texture.fill(Qt::gray); - } - QPainter painter(this); painter.drawImage(rect(), texture); } |