Commit b0a8bf12 authored by Jakob Leben's avatar Jakob Leben

Qt4: reset playlist columns settings in transition to 1.1.0

Reusing settings from before 1.1.0 results in a mess.
parent f17b5815
......@@ -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();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment