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:
parent
baa0654b03
commit
2208fa7d13
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user