Commit b818dbc6 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

NULL pointer dereference

parent d497ab17
......@@ -623,7 +623,7 @@ void MainInterface::debug()
{
msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );
msg_Dbg( p_intf, "sizeHint: %i - %i", sizeHint().height(), sizeHint().width() );
if( videoWidget->isVisible() )
if( videoWidget && videoWidget->isVisible() )
{
// sleep( 10 );
msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );
......
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