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:
parent
b8d7773776
commit
4988d45f23
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user