Fix a crash bug when clearing the playlist, and then advancing to the next track
This commit is contained in:
parent
b8d7773776
commit
4988d45f23
@ -632,6 +632,7 @@ void Playlist::UpdateScrobblePoint() {
|
||||
void Playlist::Clear() {
|
||||
qDeleteAll(items_);
|
||||
items_.clear();
|
||||
virtual_items_.clear();
|
||||
reset();
|
||||
|
||||
Save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user