From 4988d45f23889dc6915ab0316048b0bea0a1022a Mon Sep 17 00:00:00 2001 From: David Sansome Date: Wed, 10 Mar 2010 14:06:34 +0000 Subject: [PATCH] Fix a crash bug when clearing the playlist, and then advancing to the next track --- src/playlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playlist.cpp b/src/playlist.cpp index c6b097222..5d0398a30 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -632,6 +632,7 @@ void Playlist::UpdateScrobblePoint() { void Playlist::Clear() { qDeleteAll(items_); items_.clear(); + virtual_items_.clear(); reset(); Save();