Skip to content

Commit

Permalink
[guiinfo] Use string constants instead of hardcoded string values.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Mar 2, 2018
1 parent 87d26ca commit 9eb898c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/GUIInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8597,7 +8597,7 @@ std::string CGUIInfoManager::GetRadioRDSLabel(int item)
CPVREpgInfoTagPtr epgNow(m_currentFile->GetPVRChannelInfoTag()->GetEPGNow());
return epgNow ?
epgNow->Title() :
CServiceBroker::GetSettings().GetBool("epg.hidenoinfoavailable") ? "" : g_localizeStrings.Get(19055); // no information available
CServiceBroker::GetSettings().GetBool(CSettings::SETTING_EPG_HIDENOINFOAVAILABLE) ? "" : g_localizeStrings.Get(19055); // no information available
break;
}

Expand All @@ -8609,7 +8609,7 @@ std::string CGUIInfoManager::GetRadioRDSLabel(int item)
CPVREpgInfoTagPtr epgNext(m_currentFile->GetPVRChannelInfoTag()->GetEPGNext());
return epgNext ?
epgNext->Title() :
CServiceBroker::GetSettings().GetBool("epg.hidenoinfoavailable") ? "" : g_localizeStrings.Get(19055); // no information available
CServiceBroker::GetSettings().GetBool(CSettings::SETTING_EPG_HIDENOINFOAVAILABLE) ? "" : g_localizeStrings.Get(19055); // no information available
break;
}

Expand Down

0 comments on commit 9eb898c

Please sign in to comment.