cover size needs to be part of key

This commit is contained in:
craig
2012-02-29 18:10:56 +00:00
committed by craig
parent be8ccb481a
commit aba0617a96

View File

@@ -286,7 +286,7 @@ Covers::Covers()
QPixmap * Covers::get(const Song &song, int size, bool isSingleTracks, bool isLocal)
{
QString key=song.albumArtist()+QLatin1String(" - ")+song.album;
QString key=song.albumArtist()+QLatin1String(" - ")+song.album+QChar(':')+QString::number(size);
QPixmap *pix(cache.object(key));
if (!pix) {