[vlc-commits] Qt4: Fix a fullscreen crash
Edward Wang
git at videolan.org
Fri Dec 9 11:03:12 CET 2011
vlc | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Dec 9 11:01:48 2011 +0100| [c0c2f1c3c88d4fcd164a6f2b5fa6ff22b47cce77] | committer: Jean-Baptiste Kempf
Qt4: Fix a fullscreen crash
Close #5639
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0c2f1c3c88d4fcd164a6f2b5fa6ff22b47cce77
---
modules/gui/qt4/main_interface.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 0f37533..7754846 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -691,7 +691,7 @@ void MainInterface::setVideoFullScreen( bool fs )
}
/* */
- if( playlistWidget->artContainer->currentWidget() == videoWidget )
+ if( playlistWidget != NULL && playlistWidget->artContainer->currentWidget() == videoWidget )
{
showTab( videoWidget );
}
More information about the vlc-commits
mailing list