Commit 599e3942 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - < thresh> although "Add interfaces -> Switch interface to something" isnt really logical

parent 986abce1
...@@ -262,7 +262,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, ...@@ -262,7 +262,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( "Add Interfaces" ) ); intfmenu->setTitle( qtr( "Interfaces" ) );
menu->addMenu( intfmenu ); menu->addMenu( intfmenu );
menu->addSeparator(); menu->addSeparator();
} }
...@@ -962,7 +962,8 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var, ...@@ -962,7 +962,8 @@ 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( CURTEXT ? CURTEXT : another_val.psz_string ); menutext = qfu( "Add " ) /* If this function is more used, FIX*/
+ 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