PLModel::~PLModel()
{
- QSettings settings( "vlc", "vlc-qt-interface" );
- settings.setValue( "qt-pl-showflags", rootItem->i_showflags );
+ getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
delCallbacks();
delete rootItem;
}
if( p_root )
{
delete rootItem;
- rootItem = new PLItem( p_root, NULL, this );
+ rootItem = new PLItem( p_root, getSettings(), this );
}
assert( rootItem );
/* Recreate from root */