[vlc-devel] commit: qt4: remove b_is_node and use childCount() > 0 instead in playlist_model (Ilkka Ollakka )

Jakob Leben jakob.leben at gmail.com
Tue Aug 18 01:03:18 CEST 2009


On Tue, Aug 18, 2009 at 12:17 AM, Jakob Leben <jakob.leben at gmail.com> wrote:

> So....... the first things I see as a must to implement is:
> 1. revert PLModel::flags() behavior to how it was before and strictly
> distinguish nodes from non-nodes (check playlist_item_t->i_children > -1).
> 2. enable spontaneous creation of nodes and node renaming through GUI (but
> NOT turning a leaf into a node, only in case of demuxer discovering
> sub-items does this make sense, I don't see a case when it would make sense
> as an user's spontaneous action)
> 3. implement read-only property for nodes (no renaming of node, no
> inserting, removing and moving children allowed, reordering only by
> sorting). Apply this read-only property to all but Media Library and
> Playlist. _Maybe_ impose some restrictions also to individual nodes inside
> Media Library (so that nodes are strict representation of directories for
> example)
>

I sent a patch which completes the task number 1. ( [PATCH] Qt4: correct the
check whether item is node )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090818/7c82bbf6/attachment.html>


More information about the vlc-devel mailing list