Commit 8ecb6ef8 authored by Scott Wheeler's avatar Scott Wheeler

Added another crash-proofing.

svn path=/trunk/kdemultimedia/juk/; revision=165540
parent 2b0e4f40
......@@ -199,6 +199,14 @@ void JuK::cut()
{
if(tagger && tagger->isVisible()) {
QPtrList<FileListItem> items(tagger->getTaggerList()->selectedItems());
FileListItem *item = items.first();
while(item) {
if(item == playingItem)
playingItem = 0;
item = items.next();
}
tagger->getTaggerList()->remove(items);
}
else if(playlist && playlist->isVisible())
......
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