aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2012-10-28 15:22:32 +1300
committerJonathan Marshall <jmarshall@never.you.mind>2012-10-28 15:22:32 +1300
commit9f3def2fa05eeb704f7674792f5630a50010d457 (patch)
tree4819ce7e08ca942bf502a29ae09fa9dc8e7f6042
parent8ab4836b64cef719d17053d57ed3df865accd150 (diff)
use HasArt() rather than CFile::Exists() for checking art in the video info dialog
-rw-r--r--xbmc/video/dialogs/GUIDialogVideoInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
index 91ec92020a..71c0c010fb 100644
--- a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
+++ b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
@@ -636,7 +636,7 @@ void CGUIDialogVideoInfo::OnGetArt()
items.Clear();
// Current thumb
- if (CFile::Exists(m_movieItem->GetArt(type)))
+ if (m_movieItem->HasArt(type))
{
CFileItemPtr item(new CFileItem("thumb://Current", false));
item->SetArt("thumb", m_movieItem->GetArt(type));