1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00

Fix a crash bug when clearing the playlist, and then advancing to the next track

This commit is contained in:
David Sansome 2010-03-10 14:06:34 +00:00
parent b8d7773776
commit 4988d45f23

View File

@ -632,6 +632,7 @@ void Playlist::UpdateScrobblePoint() {
void Playlist::Clear() { void Playlist::Clear() {
qDeleteAll(items_); qDeleteAll(items_);
items_.clear(); items_.clear();
virtual_items_.clear();
reset(); reset();
Save(); Save();