Commit d2dcd686 authored by Michael Pyne's avatar Michael Pyne
Browse files

play-queue: Remove an unneeded processEvents.

The effect is simulated by using deleteLater(). I have been unable to
reproduce any crash this way so hopefully whatever is mentioned in the
old comment does not apply to this new code.
parent c18c3d58
......@@ -614,13 +614,13 @@ void PlaylistCollection::setUpcomingPlaylistEnabled(bool enable)
else {
bool raiseCollection = visiblePlaylist() == m_upcomingPlaylist;
delete m_upcomingPlaylist;
m_upcomingPlaylist = 0;
if(raiseCollection) {
kapp->processEvents(); // Seems to stop a crash, weird.
m_upcomingPlaylist = 0;
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