[vlc-commits] Win32: extra-safety on thumbnail toolbar

Jean-Baptiste Kempf git at videolan.org
Thu Sep 8 01:43:55 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep  8 01:43:04 2011 +0200| [a5f542fbe09d9f847f1c0b159d16f705c018a30b] | committer: Jean-Baptiste Kempf

Win32: extra-safety on thumbnail toolbar

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a5f542fbe09d9f847f1c0b159d16f705c018a30b
---

 modules/gui/qt4/main_interface_win32.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp
index be786cc..2b81907 100644
--- a/modules/gui/qt4/main_interface_win32.cpp
+++ b/modules/gui/qt4/main_interface_win32.cpp
@@ -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;



More information about the vlc-commits mailing list