Commit 27166c04 authored by Rafaël Carré's avatar Rafaël Carré

Checks if the videoWidget exist before resizing it, fix #1328

parent e3206fdb
......@@ -385,6 +385,7 @@ void MainInterface::calculateInterfaceSize()
void MainInterface::resizeEvent( QResizeEvent *e )
{
if( videoWidget )
videoWidget->widgetSize.setWidth( e->size().width() - addSize.width() );
if( videoWidget && videoIsActive && videoWidget->widgetSize.height() > 1 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment