Commit e93087fa authored by ssbssa's avatar ssbssa Committed by Jean-Baptiste Kempf

qt: prevent infinite recursion

Close #15630
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 729569e6
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment