Commit 2fd4b7da 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>
(cherry picked from commit c0c2f1c3c88d4fcd164a6f2b5fa6ff22b47cce77)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6c4415c3
...@@ -691,7 +691,7 @@ void MainInterface::setVideoFullScreen( bool fs ) ...@@ -691,7 +691,7 @@ void MainInterface::setVideoFullScreen( bool fs )
} }
/* */ /* */
if( playlistWidget->artContainer->currentWidget() == videoWidget ) if( playlistWidget != NULL && playlistWidget->artContainer->currentWidget() == videoWidget )
{ {
showTab( 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