When grouping songs into albums, take into account song year. Its possible for an artist to release two albums with the same name in different years!
BUG:6
This commit is contained in:
committed by
craig.p.drummond@gmail.com
parent
6372ac6fbe
commit
8b24d760a4
@@ -202,9 +202,9 @@ void PlayQueueView::setGrouped(bool g)
|
||||
grouped=g;
|
||||
setCurrentWidget(grouped ? static_cast<QWidget *>(groupedView) : static_cast<QWidget *>(treeView));
|
||||
if (grouped) {
|
||||
connect(Covers::self(), SIGNAL(coverRetrieved(const QString &, const QString &)), groupedView, SLOT(coverRetrieved(const QString &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(coverRetrieved(const Song &)), groupedView, SLOT(coverRetrieved(const Song &)));
|
||||
} else {
|
||||
disconnect(Covers::self(), SIGNAL(coverRetrieved(const QString &, const QString &)), groupedView, SLOT(coverRetrieved(const QString &, const QString &)));
|
||||
disconnect(Covers::self(), SIGNAL(coverRetrieved(const Song &)), groupedView, SLOT(coverRetrieved(const Song &)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user