Commit f062e146 authored by Scott Wheeler's avatar Scott Wheeler

Don't crash if we've deselected our "dynamic list" and try to play the next

item.

svn path=/trunk/kdemultimedia/juk/; revision=241569
parent adbffe41
......@@ -735,7 +735,10 @@ void PlaylistSplitter::slotChangePlaylist(const PlaylistList &l)
setupPlaylist(m_dynamicList, true, 0);
}
delete current;
if(current) {
m_playingItem = 0;
delete current;
}
emit signalPlaylistChanged();
}
......
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