From: Jean-Baptiste Kempf Date: Mon, 18 Aug 2008 23:58:33 +0000 (-0700) Subject: Fix a probable crash when fullscreen controllers are disabled. X-Git-Tag: 0.9.0~220 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6d6d311841affa25cc06dcdb89fa74f896193941;p=vlc Fix a probable crash when fullscreen controllers are disabled. --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index f96deb8c50..ba56fec402 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -829,7 +829,7 @@ void MainInterface::doComponentsUpdate() void MainInterface::toggleAdvanced() { controls->toggleAdvanced(); - fullscreenControls->toggleAdvanced(); + if( fullscreenControls ) fullscreenControls->toggleAdvanced(); } /* Get the visibility status of the controls (hidden or not, advanced or not) */