Commit 8fc155e5 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Qt: qFindChild has been deprecated in Qt5

parent ec04db28
......@@ -1512,7 +1512,7 @@ void VLCMenuBar::CreateAndConnect( QMenu *menu, const char *psz_var,
action->setChecked( checked );
MenuItemData *itemData = qFindChild<MenuItemData*>( action, QString() );
MenuItemData *itemData = action->findChild<MenuItemData*>( QString() );
delete itemData;
itemData = new MenuItemData( action, p_obj, i_val_type, val, psz_var );
......
Supports Markdown
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