Commit 17dfbc82 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Small menu fix.

parent 00979036
...@@ -269,7 +269,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, ...@@ -269,7 +269,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
if( with_intf ) if( with_intf )
{ {
QMenu *intfmenu = InterfacesMenu( p_intf, NULL ); QMenu *intfmenu = InterfacesMenu( p_intf, NULL );
intfmenu->setTitle( qtr( "Interfaces" ) ); intfmenu->setTitle( qtr( "Add Interfaces" ) );
menu->addMenu( intfmenu ); menu->addMenu( intfmenu );
menu->addSeparator(); menu->addSeparator();
} }
...@@ -956,8 +956,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var, ...@@ -956,8 +956,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
case VLC_VAR_STRING: case VLC_VAR_STRING:
var_Get( p_object, psz_var, &val ); var_Get( p_object, psz_var, &val );
another_val.psz_string = strdup( CURVAL.psz_string ); another_val.psz_string = strdup( CURVAL.psz_string );
menutext = qfu( "Add " ) /* If this function is more used, FIX*/ menutext = qfu( CURTEXT ? CURTEXT : another_val.psz_string );
+ qfu( CURTEXT ? CURTEXT : another_val.psz_string );
CreateAndConnect( submenu, psz_var, menutext, "", NORMAL_OR_RADIO, CreateAndConnect( submenu, psz_var, menutext, "", NORMAL_OR_RADIO,
p_object->i_object_id, another_val, i_type, p_object->i_object_id, another_val, i_type,
NOTCOMMAND && val.psz_string && NOTCOMMAND && val.psz_string &&
......
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