Skip to content

Commit

Permalink
no need to set thumbnail image and icon image to the same thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed Oct 10, 2012
1 parent 3544e56 commit 3b6c352
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions xbmc/FileItem.cpp
Expand Up @@ -169,10 +169,7 @@ CFileItem::CFileItem(const CEpgInfoTag& tag)
m_dateTime = tag.StartAsLocalTime();

if (!tag.Icon().IsEmpty())
{
SetThumbnailImage(tag.Icon());
SetIconImage(tag.Icon());
}
}

CFileItem::CFileItem(const CPVRChannel& channel)
Expand Down Expand Up @@ -217,10 +214,7 @@ CFileItem::CFileItem(const CPVRChannel& channel)
}

if (!channel.IconPath().IsEmpty())
{
SetThumbnailImage(channel.IconPath());
SetIconImage(channel.IconPath());
}

SetProperty("channelid", channel.ChannelID());
SetProperty("path", channel.Path());
Expand Down Expand Up @@ -265,10 +259,7 @@ CFileItem::CFileItem(const CPVRTimerInfoTag& timer)
m_dateTime = timer.StartAsLocalTime();

if (!timer.ChannelIcon().IsEmpty())
{
SetThumbnailImage(timer.ChannelIcon());
SetIconImage(timer.ChannelIcon());
}
}

CFileItem::CFileItem(const CArtist& artist)
Expand Down

1 comment on commit 3b6c352

@wileecoyotejr
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmarshallnz, I can confirm that the test build Billy provided does fix the channel icons. I tested with Confluence and Aeon Nox. See images below...

http://www.dotnetdevelopers.net/xbmc/images/icon1.png
http://www.dotnetdevelopers.net/xbmc/images/icon2.png
http://www.dotnetdevelopers.net/xbmc/images/icon3.png

(this is a duplicate post, I just wanted to start a thread on this commit.)

Please sign in to comment.