1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Add a source icon for CD tracks

This commit is contained in:
Arnaud Bienner 2014-10-26 18:45:48 +01:00
parent baa0654b03
commit 2208fa7d13

View File

@ -475,6 +475,8 @@ QPixmap SongSourceDelegate::LookupPixmap(const QUrl& url,
icon = QIcon(":/providers/jamendo.png");
} else if (url.host() == "api.soundcloud.com") {
icon = QIcon(":/providers/soundcloud.png");
} else if (url.scheme() == "cdda") {
icon = IconLoader::Load("media-optical");
}
}
pixmap = icon.pixmap(size.height());