Permalink
Browse files

[subtitles core] set correct icon

  • Loading branch information...
1 parent 93077e6 commit 5894f16951d4f4f155e005e116e665c3282cb6ce @amet amet committed Nov 18, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 xbmc/video/dialogs/GUIDialogSubtitles.cpp
@@ -244,8 +244,10 @@ bool CGUIDialogSubtitles::SetService(const std::string &service)
CGUIImage* image = (CGUIImage*)GetControl(CONTROL_NAMELOGO);
if (image)
- image->SetFileName(currentService->GetArt("thumb"));
-
+ {
+ std::string icon = URIUtils::AddFileToFolder(currentService->GetProperty("Addon.Path").asString(), "logo.png");
+ image->SetFileName(icon);
+ }
if (g_application.m_pPlayer->GetSubtitleCount() == 0)
SET_CONTROL_HIDDEN(CONTROL_SUBSEXIST);
else

0 comments on commit 5894f16

Please sign in to comment.