Commit c0c2f1c3 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf

Qt4: Fix a fullscreen crash

Close #5639
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f33e57f5
......@@ -691,7 +691,7 @@ void MainInterface::setVideoFullScreen( bool fs )
}
/* */
if( playlistWidget->artContainer->currentWidget() == videoWidget )
if( playlistWidget != NULL && playlistWidget->artContainer->currentWidget() == videoWidget )
{
showTab( videoWidget );
}
......
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