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