From 2208fa7d13e71a6a83ce39afbe2bf66cd8a532ec Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 26 Oct 2014 18:45:48 +0100 Subject: [PATCH] Add a source icon for CD tracks --- src/playlist/playlistdelegates.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/playlist/playlistdelegates.cpp b/src/playlist/playlistdelegates.cpp index b01a3536c..76b15544c 100644 --- a/src/playlist/playlistdelegates.cpp +++ b/src/playlist/playlistdelegates.cpp @@ -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());