mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-05 14:28:40 +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");
|
icon = QIcon(":/providers/jamendo.png");
|
||||||
} else if (url.host() == "api.soundcloud.com") {
|
} else if (url.host() == "api.soundcloud.com") {
|
||||||
icon = QIcon(":/providers/soundcloud.png");
|
icon = QIcon(":/providers/soundcloud.png");
|
||||||
|
} else if (url.scheme() == "cdda") {
|
||||||
|
icon = IconLoader::Load("media-optical");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pixmap = icon.pixmap(size.height());
|
pixmap = icon.pixmap(size.height());
|
||||||
|
Loading…
Reference in New Issue
Block a user