[vlc-devel] [vlc-commits] commit: Qt: correctly restore the ColumnID in the playlist. ( Jean-Baptiste Kempf )

Jakob Leben jakob.leben at gmail.com
Thu Apr 1 15:33:21 CEST 2010


On Tue, Mar 30, 2010 at 4:42 PM, <git at videolan.org> wrote:

> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 30
> 16:42:34 2010 +0200| [46415abcf1f23d552a081a8d88a3c238e9d00962] | committer:
> Jean-Baptiste Kempf
>
> Qt: correctly restore the ColumnID in the playlist.
>
> -    getSettings()->beginGroup("Playlist");
>     if( getSettings()->contains( "headerStateV2" ) )
>     {
>         treeView->header()->restoreState(
>

What is this supposed to be? This breaks loading the treeView state, because
it is saved under group "Playlist". If settings were not loading properly,
then the problem must be that the current settings group (the context) is
different when instantiating StandardPLPanel and/or loading tree view and/or
destructing StandardPLPanel.

I've already been fixing this once...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100401/67f8e30f/attachment.html>


More information about the vlc-devel mailing list