aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/pictures/GUIWindowPictures.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/pictures/GUIWindowPictures.cpp b/xbmc/pictures/GUIWindowPictures.cpp
index 4e0204c61f..d3b4aa0f92 100644
--- a/xbmc/pictures/GUIWindowPictures.cpp
+++ b/xbmc/pictures/GUIWindowPictures.cpp
@@ -272,7 +272,8 @@ bool CGUIWindowPictures::Update(const CStdString &strDirectory, bool updateFilte
if (CSettings::Get().GetBool("pictures.generatethumbs"))
m_thumbLoader.Load(*m_vecItems);
- CStdString thumb = m_thumbLoader.GetCachedImage(*m_vecItems, "thumb");
+ CPictureThumbLoader thumbLoader;
+ CStdString thumb = thumbLoader.GetCachedImage(*m_vecItems, "thumb");
m_vecItems->SetArt("thumb", thumb);
return true;