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

Qt: qFindChild has been deprecated in Qt5

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