Fix updating playlist songs when there are multiple files with the same URL

Fixes #501
This commit is contained in:
Jonas Kvinge
2020-08-06 21:40:42 +02:00
parent a4f692c788
commit d16a26605e
2 changed files with 4 additions and 7 deletions

View File

@@ -288,7 +288,7 @@ class Playlist : public QAbstractListModel {
void ClearStreamMetadata();
void SetStreamMetadata(const QUrl &url, const Song &song, const bool minor);
void ItemChanged(PlaylistItemPtr item);
void UpdateItems(const SongList &songs);
void UpdateItems(SongList songs);
void Clear();
void RemoveDuplicateSongs();