Commit 61959d79 authored by Michael Pyne's avatar Michael Pyne

Fix bug 165660 (JuK crashes on exit sometimes) in trunk (KDE 4.2).

This crash is due to the CollectionList sometimes being deleted before other playlists.
Normally a playlist will select the CollectionList if it is being deleted so that there is a
valid playlist selected.  This could only happen during shutdown however as the is no UI for
removing the Collection List.

CCBUG:165660

svn path=/trunk/KDE/kdemultimedia/juk/; revision=830196
parent 23aea303
......@@ -422,11 +422,6 @@ Playlist::~Playlist()
/* delete m_toolTip; */
// Select a different playlist if we're the selected one
if(isVisible() && this != CollectionList::instance())
m_collection->raise(CollectionList::instance());
if(!m_shuttingDown)
m_collection->removePlaylist(this);
}
......
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