[vlc-commits] main_interface: Don't silently ignore failure to register a message

Hugo Beauzée-Luyssen git at videolan.org
Wed Dec 28 17:00:06 CET 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Dec 28 16:42:20 2016 +0100| [dd72a3ee1cea2dbcd21dc20da7814afb44f24b2c] | committer: Hugo Beauzée-Luyssen

main_interface: Don't silently ignore failure to register a message

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

 modules/gui/qt/main_interface.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 911136c..2c91e7a 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -176,6 +176,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     himl = NULL;
     p_taskbl = NULL;
     taskbar_wmsg = RegisterWindowMessage(TEXT("TaskbarButtonCreated"));
+    if (taskbar_wmsg == 0)
+        msg_Warn( p_intf, "Failed to register TaskbarButtonCreated message" );
 #endif
 
     /*********************************



More information about the vlc-commits mailing list