Commit f63e5127 authored by Michael McEll's avatar Michael McEll Committed by Jean-Baptiste Kempf

Qt: Fix Segfault when exiting on Windows 2000

Initialize two handles even if createTaskBarButtons() is not called.
Otherwise vlc.exe will segfault at exit
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2551b932
...@@ -169,6 +169,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -169,6 +169,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
MainInputManager::getInstance( p_intf ); MainInputManager::getInstance( p_intf );
#ifdef WIN32 #ifdef WIN32
himl = NULL;
p_taskbl = NULL;
taskbar_wmsg = RegisterWindowMessage("TaskbarButtonCreated"); taskbar_wmsg = RegisterWindowMessage("TaskbarButtonCreated");
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment