Commit ade81fbe authored by Scott Wheeler's avatar Scott Wheeler

Remove the collection item instead of removing the individual item.

Clearing the collection item will automagically clear its children.

(This actually should be cleaned up a bit more, but it requires refactoring
much of the way that PlaylistItems relate to their "parents" the

svn path=/trunk/kdemultimedia/juk/; revision=250909
parent b58de099
......@@ -594,7 +594,7 @@ void Playlist::removeFromDisk(const PlaylistItemList &items)
emit signalAboutToRemove(*it);
if(!m_randomList.isEmpty() && !m_visibleChanged)
delete *it;
KMessageBox::sorry(this, i18n("Could not delete ") + (*it)->fileName() + ".");
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