Don't treat songs with different album as duplicates

This commit is contained in:
Jonas Kvinge
2019-08-21 20:46:08 +02:00
parent 882f80de1e
commit f81ecffda6
2 changed files with 8 additions and 2 deletions

View File

@@ -1860,6 +1860,8 @@ void Playlist::RemoveDeletedSongs() {
}
namespace {
struct SongSimilarHash {
long operator() (const Song &song) const {
return HashSimilar(song);
@@ -1872,6 +1874,8 @@ struct SongSimilarEqual {
}
};
} // namespace
void Playlist::RemoveDuplicateSongs() {
QList<int> rows_to_remove;