[vlc-devel] [PATCH] select what columns to show in playlist on QT4 interface

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Thu Aug 2 14:23:33 CEST 2007


On ti  3. heinäkuuta 2007 18:51:09, Jean-Baptiste Kempf wrote:
> On Sun, Jul 01, 2007, Ilkka Ollakka wrote :
> > Here's a start for functionality to user ability to select what columns
> > he/she wants to be displayed in playlist. We agreed with jb that I'll
> > post this patch and he'll do some rearrange-stuff (menu to correct place
> > etc.)
> I am afraid I can't apply this patch since it breaks the left column of
> the playlist. I'll see what I can do.
> 

Hi,

So it did ;) Included new try on same patch that handles that issue by
cheking model->i_depth == 1 in PLItem::update (seems that selector sets
it to 1 and otherwise it's -1). For selector PLItem::update just adds
p_item->p_input->psz_name and returns without checking that
qt-pl-showflags stuff. 

Other possibility would be check that
model->i_depth value in init and set i_showflags = VLC_META_ENGINE_TITLE
so then you wouldn't need to do that check in update.


-- 
Ilkka Ollakka
Oh, I don't blame Congress.  If I had $600 billion at my disposal, I'd
be irresponsible, too.
		-- Lichty & Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_qt4_title_show.diff
Type: text/x-patch
Size: 9475 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070802/bee953e7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070802/bee953e7/attachment.sig>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list