From f293fd7bc3b4d43c272798e4ecc891caf4485780 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Stenac?= <zorglub@videolan.org>
Date: Sun, 27 Aug 2006 20:50:54 +0000
Subject: [PATCH] Fix crash

---
 modules/gui/qt4/components/video_widget.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/video_widget.cpp b/modules/gui/qt4/components/video_widget.cpp
index e7d522b441a4..9b1ae8ccebba 100644
--- a/modules/gui/qt4/components/video_widget.cpp
+++ b/modules/gui/qt4/components/video_widget.cpp
@@ -131,6 +131,7 @@ static void DoRelease( intf_thread_t *p_intf, void *p_win )
 
 void VideoWidget::resizeEvent( QResizeEvent *e )
 {
+    if( !always )return;
     if( e->size().height() < ICON_SIZE -1 )
         label->setMaximumWidth( e->size().height() );
     else
-- 
GitLab