vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Feb 8 12:51:48 2012 +0100| [cf70aaa18f4eaf1a3ae139d1de968589a3c5b11a] | committer: 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: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf70aaa18f4eaf1a3ae139d1de968589a3c5b11a --- modules/gui/qt4/components/preferences_widgets.cpp | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp index 858431d..0159e30 100644 --- a/modules/gui/qt4/components/preferences_widgets.cpp +++ b/modules/gui/qt4/components/preferences_widgets.cpp @@ -772,6 +772,19 @@ void ModuleListConfigControl::finish( bool bycat ) { 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); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
