This patch fixes behavior of operations specific to tree structure manipulations on playlist. I post it here for review, because it is rather large and we are in feature freeze. I think however that it is a crucial fix that might save a lot of bad mood to some users.<br>
<br>- When drag'n'dropping the list of selected items is sorted correctly according to their position in tree. This keeps their relative order after drop operation even if they originated from different parent nodes.<br>
- If a parent and any of it's children are selected, only the parent enters drag'n'drop operation. Children are thus not moved out of the parent after the operation.<br>- Copying by drag and dropping performs a recursive copy, so if a parent is copied, all it's children are as well.<br>
<br>I would also suggest to move the new PLModel::recursiveAppendCopy() function to core playlist API. It is an operation that really belongs there and can be useful later as well. ...if that is not a problem since we are in feature freeze.<br>
<br>Please comment.<br><br>Best regards,<br>Jakob<br>