Commit 22f830fa authored by Besnard Jean-Baptiste's avatar Besnard Jean-Baptiste Committed by Jean-Baptiste Kempf

Qt : Fix the way playlist columns are saved

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 9a4af551)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6a186db6
......@@ -104,7 +104,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;
}
......
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