[vlc-commits] Qt4: Fix a fullscreen crash
Edward Wang
git at videolan.org
Fri Dec 9 18:10:24 CET 2011
vlc/vlc-1.2 | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Dec 9 11:01:48 2011 +0100| [2fd4b7dabc870bfc5d31be8c1738f8da7f59c062] | committer: Jean-Baptiste Kempf
Qt4: Fix a fullscreen crash
Close #5639
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c0c2f1c3c88d4fcd164a6f2b5fa6ff22b47cce77)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=2fd4b7dabc870bfc5d31be8c1738f8da7f59c062
---
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