[vlc-devel] commit: Qt4: reset playlist columns settings in transition to 1.1.0 ( Jakob Leben )
git version control
git at videolan.org
Mon Nov 30 16:53:33 CET 2009
vlc | branch: master | Jakob Leben <jleben at videolan.org> | Mon Nov 30 16:48:45 2009 +0100| [b0a8bf12b2515b995997156c1ecb00fce7a23db7] | committer: Jakob Leben
Qt4: reset playlist columns settings in transition to 1.1.0
Reusing settings from before 1.1.0 results in a mess.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0a8bf12b2515b995997156c1ecb00fce7a23db7
---
.../gui/qt4/components/playlist/standardpanel.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index aac7327..8158ffa 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -76,10 +76,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
getSettings()->beginGroup("Playlist");
- if( getSettings()->contains( "headerState" ) )
+ if( getSettings()->contains( "headerStateV2" ) )
{
view->header()->restoreState(
- getSettings()->value( "headerState" ).toByteArray() );
+ getSettings()->value( "headerStateV2" ).toByteArray() );
}
else
{
@@ -356,7 +356,7 @@ void StandardPLPanel::deleteSelection()
StandardPLPanel::~StandardPLPanel()
{
getSettings()->beginGroup("Playlist");
- getSettings()->setValue( "headerState", view->header()->saveState() );
+ getSettings()->setValue( "headerStateV2", view->header()->saveState() );
getSettings()->endGroup();
}
More information about the vlc-devel
mailing list