Commit 9a4af551 authored by Besnard Jean-Baptiste's avatar Besnard Jean-Baptiste Committed by Jean-Baptiste Kempf
Browse files

Qt : Fix the way playlist columns are saved



Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c9f3c593
......@@ -102,7 +102,8 @@ PLModel::PLModel( playlist_t *_p_playlist, /* THEPL */
PLModel::~PLModel()
{
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
if(i_depth == -1)
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
delCallbacks();
delete rootItem;
}
......
Supports Markdown
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