Commit cf70aaa1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: hack for extraintf to select http, cli or telnet

This is not the most elegant and completly perfect, but it will do for
now...
Close #5986
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 72030211
...@@ -772,6 +772,19 @@ void ModuleListConfigControl::finish( bool bycat ) ...@@ -772,6 +772,19 @@ void ModuleListConfigControl::finish( bool bycat )
{ {
checkbox_lists( p_parser ); checkbox_lists( p_parser );
} }
/* Parental Advisory HACK:
* Selecting HTTP, RC and Telnet interfaces is difficult now
* since they are just the lua interface module */
if( p_cfg->i_type == CONFIG_SUBCATEGORY &&
!strcmp( module_get_object( p_parser ), "lua" ) &&
!strcmp( p_item->psz_name, "extraintf" ) &&
p_cfg->value.i == p_item->min.i )
{
checkbox_lists( "Web", "Lua HTTP", "http" );
checkbox_lists( "Telnet", "Lua Telnet", "telnet" );
checkbox_lists( "Console", "Lua CLI", "cli" );
}
} }
module_config_free (p_config); module_config_free (p_config);
} }
......
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