]> git.sesse.net Git - vlc/commitdiff
Fix crash
authorClément Stenac <zorglub@videolan.org>
Sun, 27 Aug 2006 20:50:54 +0000 (20:50 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 27 Aug 2006 20:50:54 +0000 (20:50 +0000)
modules/gui/qt4/components/video_widget.cpp

index e7d522b441a4c39d29c82c6617f5feaf78b3a4ad..9b1ae8ccebba7f2085db686148866a0b6654c7fb 100644 (file)
@@ -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