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
1 changed files with 2 additions and 0 deletions

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());