[vlc-devel] commit: Win32: fix potential error with thumbbar buttons (Geoffroy Couprie )

git version control git at videolan.org
Sun Sep 6 19:37:00 CEST 2009


vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Sat Aug 22 15:18:07 2009 +0200| [53fa7355c9a4ae45be71b06119fc8e7b1c81706d] | committer: Geoffroy Couprie 

Win32: fix potential error with thumbbar buttons

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

 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 504d161..156a881 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -360,8 +360,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
             if(S_OK != p_taskbl->vt->ThumbBarAddButtons(p_taskbl, GetForegroundWindow(), 3, thbButtons))
                 msg_Err( p_intf, "ThumbBarAddButtons failed with error %08x", GetLastError() );
 
+            CONNECT( THEMIM->getIM(), statusChanged( int ), this, changeThumbbarButtons( int ) );
         }
-        CONNECT( THEMIM->getIM(), statusChanged( int ), this, changeThumbbarButtons( int ) );
     }
     else
     {




More information about the vlc-devel mailing list