Commit d8e75306 authored by Jakob Leben's avatar Jakob Leben

Qt4: correct parent when duplicating a PL item

parent ee145e3a
...@@ -219,7 +219,9 @@ void PLModel::dropAppendCopy( QByteArray& data, PLItem *target ) ...@@ -219,7 +219,9 @@ void PLModel::dropAppendCopy( QByteArray& data, PLItem *target )
PLAYLIST_APPEND | PLAYLIST_SPREPARSE, PLAYLIST_END, PLAYLIST_APPEND | PLAYLIST_SPREPARSE, PLAYLIST_END,
p_input->i_duration, p_input->i_duration,
p_input->i_options, p_input->ppsz_options, p_input->optflagc, p_input->i_options, p_input->ppsz_options, p_input->optflagc,
p_parent == p_playlist->p_local_category, true ); ( p_parent == p_playlist->p_local_category ||
p_parent == p_playlist->p_local_onelevel ),
true );
} }
PL_UNLOCK; PL_UNLOCK;
} }
......
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