[vlc-devel] [PATCH 4/4] qt4: prevent infinite recursion (fix #15630)

Hannes Domani ssbssa at yahoo.de
Tue Feb 23 20:13:54 CET 2016


---
 modules/gui/qt4/components/controller.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 39aff59..4630140 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -403,6 +403,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
         }
         break;
     case ADVANCED_CONTROLLER:
+        if( qobject_cast<AdvControlsWidget *>(this) == NULL )
         {
             advControls = new AdvControlsWidget( p_intf, this );
             widget = advControls;
-- 
2.7.0



More information about the vlc-devel mailing list