[vlc-devel] commit: Qt4: set proper window class (refs #2322) ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Apr 15 22:27:42 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 15 22:43:02 2009 +0300| [61c280c5b97fd51e86925ba64b9925a2d501ebf6] | committer: Rémi Denis-Courmont 

Qt4: set proper window class (refs #2322)

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

 modules/gui/qt4/qt4.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index c74fc20..389f53f 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -349,8 +349,8 @@ static void *Thread( void *obj )
 {
     intf_thread_t *p_intf = (intf_thread_t *)obj;
     MainInterface *p_mi;
-    char dummy[] = "";
-    char *argv[] = { dummy };
+    char dummy[] = "vlc"; /* for WM_CLASS */
+    char *argv[] = { dummy, NULL, };
     int argc = 1;
 
     Q_INIT_RESOURCE( vlc );




More information about the vlc-devel mailing list