vlc | branch: master | Hannes Domani <[email protected]> | Tue Feb 23 20:13:54 
2016 +0100| [e93087fa20d7a697c3f93832b6b2085c6bb7dbc3] | committer: 
Jean-Baptiste Kempf

qt: prevent infinite recursion

Close #15630

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to