[vlc-devel] [PATCH] commented the lines for item removal to remove the option "Remove selected"

Rémi Denis-Courmont remi at remlab.net
Fri Feb 26 19:18:57 CET 2016


Le 2016-02-25 13:52, Avani a écrit :
> ---
>  modules/gui/qt4/components/playlist/standardpanel.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp
> b/modules/gui/qt4/components/playlist/standardpanel.cpp
> index 1178647..d1c25c0 100644
> --- a/modules/gui/qt4/components/playlist/standardpanel.cpp
> +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
> @@ -232,10 +232,10 @@ bool StandardPLPanel::popup( const QPoint 
> &point )
>      menu.addSeparator();
>
>      /* Item removal */
> -
> +    /* Uncomment the following lines to activate the Remove Selected 
> option
>      ADD_MENU_ENTRY( QIcon( ":/buttons/playlist/playlist_remove" ),
> qtr(I_POP_DEL),
>                      VLCModelSubInterface::ACTION_REMOVE );
> -
> +    */
>      ADD_MENU_ENTRY( QIcon( ":/toolbar/clear" ), qtr("Clear the 
> playlist"),
>                      VLCModelSubInterface::ACTION_CLEAR );

That looks very dangerous to me... inb4 very angry users.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list