[vlc-devel] [PATCH 16/18] gui/qt: fix #17184 (missing entries in context-menu)

Jean-Baptiste Kempf jb at videolan.org
Thu Jul 21 17:59:42 CEST 2016


On 20 Jul, Filip Roséen wrote :
>  bool PLModel::isSupportedAction( actions action, const QModelIndex &index ) const
>  {
> -    if( !index.isValid() )
> -        return false;
> +    vlc_playlist_locker pl_lock ( THEPL );

Why remove the call to isValid here?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list