Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2585 from ulion/avoid_detect_folderjpg_under_add_…

…item

avoid detect folder.jpg under 'add' item.
  • Loading branch information...
commit c1413adf66191451ae791cc9e2b2336bed7ffc0e 2 parents fca4db2 + 01480bb
@jmarshallnz jmarshallnz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  xbmc/pictures/PictureThumbLoader.cpp
View
3  xbmc/pictures/PictureThumbLoader.cpp
@@ -132,7 +132,8 @@ void CPictureThumbLoader::ProcessFoldersAndArchives(CFileItem *pItem)
return;
}
}
- if ((pItem->m_bIsFolder || pItem->IsCBR() || pItem->IsCBZ()) && !pItem->m_bIsShareOrDrive && !pItem->IsParentFolder())
+ if ((pItem->m_bIsFolder || pItem->IsCBR() || pItem->IsCBZ()) && !pItem->m_bIsShareOrDrive
+ && !pItem->IsParentFolder() && !pItem->GetPath().Equals("add"))
{
// first check for a folder.jpg
CStdString thumb = "folder.jpg";
Please sign in to comment.
Something went wrong with that request. Please try again.