Commit 9a4af551 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>
parent c9f3c593
...@@ -102,7 +102,8 @@ PLModel::PLModel( playlist_t *_p_playlist, /* THEPL */ ...@@ -102,7 +102,8 @@ PLModel::PLModel( playlist_t *_p_playlist, /* THEPL */
PLModel::~PLModel() PLModel::~PLModel()
{ {
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags ); if(i_depth == -1)
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
delCallbacks(); delCallbacks();
delete rootItem; 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