diff options
author | arnova <arnova@void.org> | 2013-07-23 20:57:59 +0200 |
---|---|---|
committer | arnova <arnova@void.org> | 2013-07-23 20:57:59 +0200 |
commit | 948f09e7535095887c1649db1cdd7fccea7b3ac3 (patch) | |
tree | 4282ec19a03d20a00cfdd8304007e78ae19d6dcb | |
parent | 94817e6fa85e2e0b39d1f0f96795435a4256fe7b (diff) |
fixed: Crash in Pictures caused by PR2890 (fixes #14500)
-rw-r--r-- | xbmc/pictures/GUIWindowPictures.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/pictures/GUIWindowPictures.cpp b/xbmc/pictures/GUIWindowPictures.cpp index 8668b1d88c..4b7b08409c 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; |