From 3b6c35241a4fb5bf8f2517125ba2eb6087ddecf0 Mon Sep 17 00:00:00 2001 From: Jonathan Marshall Date: Sat, 29 Sep 2012 12:39:35 +1200 Subject: [PATCH] no need to set thumbnail image and icon image to the same thing --- xbmc/FileItem.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 65e1d7d58fa76..252c4283ad8f8 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -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) @@ -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()); @@ -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)