]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface_win32.cpp
Win32: extra-safety on thumbnail toolbar
[vlc] / modules / gui / qt4 / main_interface_win32.cpp
index be786ccb6f9e6eeec8f52a4d36eb253f4d15e793..2b819072332a257b8cfd9dce8c439bc98c80889a 100644 (file)
@@ -239,6 +239,9 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
 
 void MainInterface::changeThumbbarButtons( int i_status )
 {
+    if( p_taskbl == NULL )
+        return;
+
     // Define an array of three buttons. These buttons provide images through an
     // image list and also provide tooltips.
     DWORD dwMask = THB_BITMAP | THB_FLAGS;