[vlc-devel] [PATCH 3/5] qt: don't create the "window" variable in libvlc

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 13 15:00:30 CET 2020


The variable already already exists.
---
 modules/gui/qt/qt.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 14d9339f826..edecb4a5883 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -681,7 +681,6 @@ static void *Thread( void *obj )
         libvlc_int_t *libvlc = vlc_object_instance( p_intf );
 
         var_Create( libvlc, "qt4-iface", VLC_VAR_ADDRESS );
-        var_Create( libvlc, "window", VLC_VAR_STRING );
 
         if( known_type )
         {
@@ -731,7 +730,6 @@ static void *Thread( void *obj )
     if (p_mi != NULL)
     {
         libvlc_int_t *libvlc = vlc_object_instance( p_intf );
-        var_Destroy( libvlc, "window" );
         var_Destroy( libvlc, "qt4-iface" );
     }
     return ThreadCleanup( p_intf, false );
-- 
2.17.1



More information about the vlc-devel mailing list